CS Principles Quizzes + Tests

CS Principles Quizzes + Tests

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

What are the 3 dimensions of a virtual world

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (80)

Section 1

(50 cards)

What are the 3 dimensions of a virtual world

Front

width, depth, height

Back

electronic portfolio

Front

a collection of electronic evidence assembled and managed by a user, usually on the web.

Back

static

Front

an item that is not changing

Back

pixel

Front

a picture element

Back

dynamic

Front

an item that is changing

Back

What is the short name for a picture element?

Front

pixel

Back

What is another name for a list?

Front

an array

Back

Given the following list of items: rock, paper, scissors, lizard spock Which word is located at element 4?

Front

spock

Back

A visual storyboard:

Front

draws out the scenes

Back

If we want items in a list to act one at a time, we would call this __________.

Front

sequential

Back

Which of the following is not a logic operator? < AND OR NOT

Front

<

Back

Why do we use inheritance with classes?

Front

When a class extends another class by using all of its existing methods, and then writing some of its own.

Back

web site

Front

a location connected to the Internet that maintains one or more pages on the World Wide Web.

Back

Which of the following are some ways that you can practice good Netiquette? -Think twice before you send a message. It can not be deleted. -Read FAQ's (Frequently Asked Questions) documents before asking a question. -When sending emails, make sure that the subject line accurately describes the message. -Write in all capital letters to show that you are excited. -Avoid using abbreviations, as it is confusing to some readers. -Use emoticons to indicate your tone of voice.

Front

Think twice before you send a message. It can not be deleted, Read FAQ's (Frequently Asked Questions) documents before asking a question, When sending emails, make sure that the subject line accurately describes the message, Use emoticons to indicate your tone of voice.

Back

What relationship operator would you use for less than?

Front

<

Back

embed

Front

to insert something into a web page. Usually something that already resides on the Internet, but you wish it to be displayed on another web page.

Back

When creating a new page for a blog, what type of page should you create in Google sites?

Front

announcements

Back

What relationship operator would you use for greater than or equal to? > <= >= <

Front

>=

Back

hyperlink

Front

a link from one document to another location or file.

Back

Which of the following will work well with the following situation? An ice-skater does 3 spins before finishing her routine. count for each in each in together while

Front

count

Back

When we create an object of a class, we say we create a(n) _____________ of the class.

Front

instance

Back

Which of the following is NOT a proper identifier (variable) name? seven11 7eleven seven_eleven sevenEleven

Front

7eleven

Back

What are the steps of software engineering cycle in order

Front

requirements, design, implementation, testing, documentation

Back

When using a list in Alice, which of the following would we use if we wanted all the objects in a list to do the same thing one at a time? dotogether foreachin doinorder eachin_together

Front

foreachin

Back

Which block is used when we want items to happen sequentially? doInOrder doTogether doAllAtOnce doOneAtATime

Front

doInOrder

Back

lossless compression

Front

reduces a file's size with no loss of quality.

Back

When using a list in Alice, which of the following would we use if we wanted all the objects in a list to do the same thing all at the same time? foreachin dotogether doinorder eachin_together

Front

eachin_together

Back

Which of the following is a proper identifer (variable) name? numberOne 1stNumber number#1 first.number

Front

numberOne

Back

What type of loop would be appropriate for the following situation? You have a person chasing a butterfly with a net until it is caught. indefinite loop conditional infinite loop definite loop

Front

indefinite loop

Back

The elements of an array are labeled with a(n) _________.

Front

index

Back

Each object has 5 directions. What are these directions relative to?

Front

The six directions are relative to the object's orientation.

Back

What kind of loop do we use if we want to have a definite loop?

Front

count loop

Back

How many objects can be made from a 3D model?

Front

any number of objects

Back

What is the size limit for a Google site?

Front

100MB

Back

Which block would we use if we wanted statements to happen simultaneously? doInOrder doTogether doAllTogether doOneAtATime

Front

doTogether

Back

Which condition can be used if we want to perform an action if the distance between the troll and dragon is less than 10? distance <= 10 distance < 10 distance > 10 distance >= 10

Front

distance < 10

Back

What do we call a loop when the computer knows how many times it will iterate before it starts?

Front

definite loop

Back

Which of the following is the assignment operator? = <> != ==

Front

=

Back

If we want items in a list to act all at the same time, we would call this __________.

Front

simultaneously

Back

what are the 6 directions that objects can move

Front

left, forward, up, down, right, backward

Back

lossy compression

Front

compression that results in lost data and quality from the original version.

Back

What are picutres comprised of?

Front

pixels

Back

In Alice a 3D model is also considered a(n) _________.

Front

class

Back

Which of the following is a type of lossy compression for pictures?

Front

jpeg

Back

Given the following list of items: rock, paper, scissors, lizard spock What is the index of element rock?

Front

0

Back

blog

Front

a personal web site or web page on which an individual records opinions, links to other sites, etc. on a regular basis.

Back

What type of loop would be appropriate for the following situation? You have a person chasing a butterfly with a net until it is caught.

Front

indefinite loop

Back

What relationship operator would you use for less than or equal to?

Front

<=

Back

What kind of loop do we use if we want to have a indefinite loop?

Front

while loop

Back

What kind of loop is used when we are waiting for a condition to be true in order to stop a loop, and so therefore do not know how many times it will loop at the start?

Front

indefinite loop

Back

Section 2

(30 cards)

What relationship operator would you use for greater than or equal to?

Front

>=

Back

What is recursion?

Front

a method or procedure that calls itself.

Back

What is the result of the following: Given: grade = 92, permission = true if (grade >= 92 OR permission == true) You can go on the field trip else You can not go on the field trip

Front

You can go on the field trip

Back

State whether the following is true or false: 2 * 3 == 5

Front

false

Back

You are asked to create a program that will allow a student to enter their classwork average, summative average and final exam grade and it will compute their class average. The classwork average is worth 35%, summative is worth 45% and final exam is worth 20%. What is the output?

Front

class average

Back

State whether the following is true or false: 2 * 3 < 1 + 3

Front

false

Back

Which of the following is NOT an example of how to write an algorithm? A set of pseudocode A UML Diagram A flowchart A map

Front

map

Back

Which type of loop would be appropriate for the following situation? A count down clock keeps track of how many minutes are left before the game is over. It stops counting when it gets to 0.

Front

definite loop

Back

State whether the following is true or false: 6 == 5

Front

false

Back

What do we call the information being reported to the user after the program has processed inform

Front

output

Back

Given the following list of items: rock, paper, scissors, lizard spock Which word is located at element 2?

Front

scissors

Back

What kind of loop would you use in the following situation? You want a person to walk to a tree in a meadow.

Front

definite loop

Back

State whether the following is true or false: 7 < 3 * 4

Front

true

Back

You are asked to create a program that will allow a student to enter their classwork average, summative average and final exam grade and it will compute their class average. The classwork average is worth 35%, summative is worth 45% and final exam is worth 20%. What is the input?

Front

classwork, summative and final exam averages

Back

Evaluate the following as either True or False. Given grade = 65, permission = false grade >= 70 OR permission == true

Front

False

Back

>=

Front

greater than or equal to

Back

<=

Front

less than or equal to

Back

What is a method?

Front

a set of commands that are grouped together under a given name.

Back

What type of loop would be appropriate for the following situation? A person walks to the front door of a house.

Front

definitie loop

Back

textual storyboard:

Front

gives the step by step instructions for the actions in the scene in words.

Back

(True or False) A picture with high resolution has a smaller amount of large pixels.

Front

False

Back

You are asked to write a program that will compute the tip you should leave at a restaurant. The program will take the total bill and tip percentage and then calculate the tip. What is the input?

Front

total bill and tip percentage

Back

What is the result of the following: if (2 * 3 == 6) Output: Yes else Output: No

Front

Output: Yes

Back

Given the following situation, what type of loop will we need to use? You want the user to enter grades to average, but we don't know how many are in the gradebook.

Front

indefinite

Back

==

Front

equal to

Back

When using a list in Alice, which of the following would we use if we wanted all the objects in a list to do the same thing all at the same time?

Front

foreachin_together

Back

!=

Front

not equal to

Back

What is the result of the following: if (2 * 3 > 6) Output: Yes else Output: No

Front

output: no

Back

Evaluate the following as either True or False. Given grade = 90, permission = true grade >= 70 OR permission == true

Front

True

Back

What tool do we use when we want to edit something on our Google page?

Front

pencil

Back