Hardware and Blocks
Hardware and Blocks II
Logic Gates
Misc
Algorithms
Misc 2
Binary
Parity Error
100

The main difference between low-level and high-level programming languages.

high-level languages must be translated by software programs into low-level machine languages before then can be run on a computer

100

Event-Driven Programming means

programming statements are used to respond to events

100

An AND gate is an electronic component that takes two inputs, A and B, such that

 the gate will be TRUE (or ON) when both A and B are TRUE (or ON).

100

Which of the following statements describes a limitation of using a computer simulation to model a real-world object or system?

 (C) Computer simulations usually make some simplifying assumptions about the real-world object or system being modeled.

100

This type of block is a sequence, selection or repetition block

Control

100

Which of the following algorithms would navigate the robot below to reach its goal, the gray square?

100

Convert  1111 to a decimal number 

15

100

In an even parity scheme the binary string 0111 0100 would be detected as containing an error. T or F?

F

200

Which of the following best describes the primary function of the CPU?

is the hardware that carries out the instructions of a computer program.

200

True/False One of the main characteristics of an abstraction is that it simplifies a complex phenomenon by leaving out the irrelevant aspects.

True

200

An OR gate is an electronic component with two inputs, A and B, such that

the gate would be TRUE (or ON) when either or both A and B are TRUE (or ON).

200

What does refactoring mean?

 Restructuring a program without changing its basic behavior.

200

iteration in code is another name for

Repetition 

200

Lists are indexed, or numbered, starting with 1, which means that you can retrieve any item from a list by giving its index. For the list below, what is the index of "No way"? Type your answer into the text box.

 

3

200

Convert 1001 1111 to a decimal number

159

200

In an odd parity scheme what would the parity bit be for the binary string 100 0010?

1

300

Type of Block

Event Handler

300

Which of the following is not an example of software? 

 Microsoft Excel

 Angry Birds

 Firefox

 A Printer

A Printer

300

Which of the following lists arranges hardware components from the lowest to the highest abstraction level? 

 RAM chip, motherboard, logic gate, physical circuit

 Physical circuit, motherboard, logic gate, RAM chip

Physical circuit, logic gate, RAM chip, motherboard,

 RAM chip, logic gate, physical circuit, motherboard.

Physical circuit, logic gate, RAM chip, motherboard,

300

The Internet _______________. 

 is a network of networks

 was invented by Tim Berners-Lee

 connects devices and computers around the world

 is based on the Internet protocol suite

 is a network of networks

 connects devices and computers around the world

 is based on the Internet protocol suite

300


Random fraction selects a random number between 0 and 1, not including 1.


If the code above were executed, what value would be assigned to Label1?

Tails

300

 For a program or web service defines how other programs can communicate with it and use it.

The Application Programming Interface (API

300

Convert 37 to binary

   10 0101

300

In an even parity scheme the binary string 0110 0001 would be detected as containing an error. T or F?

T

400

Which of the following would be considered an event on your smart phone?

The user taps on the screen.
 The phone receives a text message.
 The phone's location changes.
 The app plays a sound clip
 The phone's internal clock ticks

 

The user taps on the screen.

 The phone receives a text message.

 The phone's location changes.

 The phone's internal clock ticks

400

Which of the following is not an example of hardware?

 Memory chip

 WIndows Operating System

 Motherboard

 Integrated circuit

WIndows Operating System

400



Input A must be true.

400

Which of the following are advantages of cloud computing? 

 a. Cloud computing relieves users from having to backup their own data and information.

 b. Cloud computing makes it easier to share information.

 c. Information is stored on each user's computer.

 d. Users can access information that is on the cloud from anywhere that has an Internet connection.

 a. Cloud computing relieves users from having to backup their own data and information.

 b. Cloud computing makes it easier to share information.

 d. Users can access information that is on the cloud from anywhere that has an Internet connection.

400

What values could be assigned to X?

1,2, or 3

400

Persistent data is data that ______________.

remains in the device's memory even when the device is powered off.

400

101010100

340

400

In an even parity scheme what would the parity bit be for the binary string 101 1010?  

0

500

Which of the following are components?

 Button

 Label

 Player.IsPlaying

 Player

 Button.Image

 

 Button

 Label

 Player


500

Which of the following are true statements about a computer's main memory? 

 It stores data.

 It is called RAM, short for random access memory.

 Any data stored in main memory disappears when the computer loses power.

 It is the same as long-term memory

It stores data.

 It is called RAM, short for random access memory.

 Any data stored in main memory disappears when the computer loses power.

500

The elevator moves when the door is closed and the elevator is called to the floor that it is not currently on. Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move? 

 (onFloor1 AND callTo2) OR (onFloor2 AND callTo1)

500

Which of the following is not true about algorithms:

 A. An algorithm is a sequence of precise instructions.

B.  Algorithms can be written to solve every problem.

 C. Algorithms are step-by-step procedures.

 D. Algorithms consist of a combination of sequences, selections, and/or repetitions.

 

Algorithms can be written to solve every problem.

500

Suppose your PRNG uses the following formula:

                Xi+1 = (Xi * 2 + 1)  mod 13

What would the next number be if the current number is 10?

8

500

What component would you use to store data the user inputs once the device is powered off?

TinyDB

500

Convert hexadecimal (base 16) number 5D to a decimal number?

93

500

In an odd parity scheme what would the parity bit be for the binary string 111 1101?

1