Computer Science

Computer 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 number
Alice is a 3D programming environment that is an introduction to object oriented programming. true
All Alice programs start with "world.my first method" 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 <!– and end with –> true
In Alice you can view type objects in which two different ways? Single, Quad
In Alice, there are four data types, what are they? number, object, boolean, other
In Alice, there are primitive functions associated with all objects, including the world object true
In the Fish/Gumdrop project we used which operator to determine which gumdrop is closest to the fish? <(less than)
What allows you to create a group of items if 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? number
What data type do you use for yes/no or true/false questions? boolean
What does HTML stand for? Hypertext Markup Language
What is the correct HTML element for inserting a break line? <br>
What is the correct HTML element for the largest heading? <h1>
What is the difference between a method and a function? Functions are special methods that return a value; methods do not
What are the different Boolean data types? True/False , Yes/No
What are the different Number data types? Integer/Real
What are the different string data types? Characters,Text,Strings
This tag tells the browser that this is an HTML document? <.html>
There <> are called what in HTML? Wickets
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? Forward, backward, left, right, up, down
In Alice, there are four data types, what are they? number, boolean, object, other
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
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 doing what? Decision Structure
To allow for more flexibility, Alice, along with other programming languages, provide what to compare the relationship between two values? relational operators
In order to combine multiple conditions into a single True of 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 repetition structure counted loop
When you select this option, the loop will repeat without ending until the world is stopped by the user. infinity times
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>
What is a detailed yet readable description of what a computer program or algorithm must do called? pseudocode
Which of these would you use to make objects do a specific task at the same time? Do Together
Which of these would you use to make objects do a specific task in a specified order? Do in Order
Which of these would you use to make a method repeat something a specific number of times? Loop
Where would you find the math functions in Alice? World Functions
In Alice, where would you find "ask user for a number" World methods
In Alice, where would you find ______'s width Functions
In Alice, where would you go to change an objects opacity? Properties
In Alice, where would you go to change the vehicle of an object? Properties
In Alice, why would you set a dummy camera object? to reset camera position
What is something that occurs while an Alice program is running? Event
The process of responding to an event is commonly called what? Handling the event
Most event tiles require _______ such as method that should run in response to the event. additional arguments
A method that executes in response to an event is commonly referred to as ____ event handler
When a world is first created, the only event is the ______ event. When the world starts

Leave a Reply

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