comp science

comp science

Print FlashCard
Question Answer
Alice provides a function called__________, which is part of the world object that generates a random number in a specified range. random numbers
Alice is a 3D programming environment that is an introduction to object oriented programming. (t/f) true
All Alice programs start with "world.my first method" (t/f) true
This is your local drive found on the school network. H drive
How (in general) do you join strings together? A joined with b
HTML comments start with (t/f) true
In Alice you can view the objects in which two different ways? single and quad view
In Alice, there are four data types, what are they? number, Boolean, string, object
in Alice, there are primitive functions associated with all objects, including the world object (t/f) true
In the Fish/Gumdrop project we used which operator to determine which gumdrop is closest to the fish? less than symbol
What allows you to create a group of items of the same data type? list
What allows you to reuse code without having to repeat it? method
What data type do you use for 1 or more letters? string
What data type do you use for a character? object
What data type do you use for positive, negative or decimal numbers? numbers
What data type do you use for yes/no or true/false questions? Boolean
What does HTML stand for? hyper text markup language
What is the correct HTML element for inserting a line break? br
What is the correct HTML element for the largest heading: H1
What is the difference between a method and a function? function has value and method does not
What are the different Boolean data types? true/false
What are the different Number data types? numbers
What are the different string data types? words
This tag tells the browser that this is an HTML document .html
These < > are called what in HTML? wikects
This tag defines a paragraph. Browsers automatically add some space (margin) before and after each element P
This HTML tag defines the main content of the HTML document or the section of the HTML document that will be directly visible on your web page body
Each object has six directions, which are also relative to the object, what are they? left right up down
In Alice, there are four data types, what are they? number, Boolean. string, object
What is a named storage location in the computer's memory called? variable
In computer programs, simple decisions are broken into the two options, what are they? true/false yes/no
In all of the methods we wrote, the instructions have executed in order, one after the other. What is that known as? sequential programming
If you execute one set of commands for given circumstances, and another set of commands for different circumstances, it is accomplished using what? decision structure
To allow for more flexibility, Alice, along with other programming languages, provide what to compare the relationship between two values? relational operator
In order to combine multiple conditions into a single True or False result, we use what type of operators? logical
Which function accepts parameters which allow you to specify the minimum and maximum values for the random number? random number
This is a type of repetition structure. counted loop
When you select this option, the loop will repeat without ending until the world is stopped by the user. infinite loop
What is the html code to insert an image link in your website? img
What HTML code creates a horizontal line? hr
Which HTML code creates a list? li

Leave a Reply

Your email address will not be published. Required fields are marked *