stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Comp-Sci Final Review Flashcards | StudBud
Explore
/
Comp-Sci Final Review
Comp-Sci Final Review
30 terms
·
StudBud Administration
·
5 plays
Imported from external platform
Flashcards
30 cards
F
Practice quiz
P
Host live
L
Questions
30
Answers
1
In the picture below, there are two sprites called “apple” and “carrot”. Which Boolean expression would evaluate true?
apple.x > carrot.x
carrot.x < apple.y
carrot.scale > apple.scale
apple.y < carrot.y
2
What is the purpose of a CSS class?
It allows the font to be styled.
It allows images to be displayed.
It allows one element to be styled in the same way throughout a website.
Allows for multiple elements to be styled in the same way through a website
3
Which component represents an input component?
Speakers
Space Bar
Hard Drive
Display
4
you go through a website’s prep course to help you improve on the SAT. Which part of problem-solving process is in use?
Define
Reflect
Prepare
Try
5
You need to decide which shape to use for a plane to fly the longest. Which part of the problem-solving process used
Reflect
Define
Try
Prepare
6
You create two sprites called “dog” and “cat”. Which command will ask if the dog’s scale is equal to the cat’s scale?
dog.scale > cat.scale
dog.scale = cat.scale
dog.scale == cat.scale
dog.scale < cat.scale
7
What will the following code make the fish do?
When the fish reaches the bottom of the screen, it will go back to the top.
When the fish reaches the right edge, it will go back to the left side.
When the fish reaches the top of the screen, it will go back to the bottom.
When the fish reaches the left edge, it will go back to the right side.
8
Which coordinate will place a sprite in the upper right corner of a screen?
(350, 370)
(100, 200)
(300, 40)
(50, 390)
9
What is happening in the code below?
The bug will automatically move to the left upon hitting "run"
When the space bar is pushed down, the bug will move to the left.
The bug will automatically move to the right upon hitting "run".
When the space bar is pushed down, the bug will move to the right.
10
Which of the following is NOT an example of reflecting in the problem-solving process?
Using an app to add to the color of a wall so that it is visually nicer
Brainstorming about possible apps to make to keep track of sports progress
Adjusting a paper airplane after flying it several times
Discussing the effectiveness of a drill to improve your free throw shooting
11
After designing a paper airplane to fly the longest path you test your model. Which part of problem-solving process used
Define
Prepare
Reflect
Try
12
Which tag will allow you to create an ordered list?
<ol>
<ordered>
<od>
<ul>
13
Which tag would you use to close an entire website?
</p>
</html>
<html/>
</body>
14
After designing/testing its flight pattern, you make changes to the design. Which part of problem-solving process used
Define
Reflect
Prepare
Try
15
In which direction will the blue car move when the program is executed?
Down
To the right
Up
To the left
16
Which task would HTML be useful for?
changing the font of a text
Making a bulleted list
Adding color to the body of a paragraph
Changing the size of an image
17
What will the following code do?
Create a green ellipse on a green background.
Create a blue ellipse on a blue background.
Create a blue ellipse on a green background.
Create a green ellipse on a blue background.
18
Which question could be considered a Boolean question?
What number did Michael Jordan wear?
How many brothers and sisters do you have?
Where were you born?
Is today Tuesday?
19
You use CSS to do what?
Hyperlink an image
Add an image.
Create lists.
Change the appearance of your website.
20
Which rgb code would you use to create a “black” color?
rgb(256, 256, 256)
gb(200, 200, 200)
rgb(0, 0, 0)
rgb(256, 0, 0)
21
The first page of a website customarily has the name of:
firstpage.html
index.html
tableofcontents.html
ableofcontents.html
22
Which HTML element gives you the smallest heading?
<h1>
<head>
<title>
<h6>
23
Which main component of the computer is NOT listed below?
Storage
Output
Processing
Input
24
Looking at the code below, which header would be the largest? <h1> lasagna </h1> <h3> spaghetti </h3> <h5> ziti </h5>
Lasagna
All of them will be the same.
Spaghetti
Ziti
25
Which component is NOT a main component of a computer system?
Input
Sound
Output
Processing
26
Which command do you use to create a sprite?
setAnimation( )
createSprite( )
drawSprites( )
createAnimation( )
27
The raw text, images and other elements in a webpage is called...
Website structure
Website content
HTML tags
CSS tags
28
What will the following code do?
Make an orange ellipse in random x/y positions on tomato colored background
Make an orange ellipse in random x positions on tomato colored background.
Create an orange ellipse of random sizes on a tomato colored background.
Make an orange ellipse in random y positions on a tomato colored background
29
The instructions that tell a computer what to do and how to do it are called...
Software
Hardware
ROM
RAM
30
In order to improve your grades, you come up with several options. Which solution is best defined?
Pay attention more in your classes
Complete all homework on time and come to coach class regularly
Come to class in a timely fashion
Do better in your classes