Mock Exam #1-4

Mock Exam #1-4

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Used 20+ times

FREE Resource

Student preview

quiz-placeholder

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A bank customer receives an e-mail from a sender claiming to be a bank employee. The e-mail asks the customer to provide personal information and to call a phone number if he or she has any questions. The customer suspects the e-mail might be a phishing attempt. Which of the following responses is most likely to be a privacy risk for the bank customer?

Calling the bank at its official phone number to ask whether the request for personal information is

legitimate

Calling the phone number given in the e-mail and providing the personal information over the phone

Checking that the domain name of the sender’s e-mail address is associated with the bank

Conducting aWeb search to see if other people have received similar requests for personal information

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following would be the best use of citizen science?

An experiment that requires all participants to be working in the same laboratory

An experiment that requires expensive equipment to conduct

An experiment that requires data measurements to be taken in many different locations

An experiment that requires specialized knowledge and training to conduct

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A student is writing a program to model different real-world events using simulations. Which of the following simulations will generate a result that would best be stored using a Boolean variable?

A simulation of flipping a fair coin

A simulation of rolling a fair die (with sides numbered 1 through 6)

A simulation of the temperature in a location over time

A simulation of traffic patterns on a road

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The code segment below is intended to swap the values of the variables first and second using a temporary variable, temp.


temp <- first

first <- second

<MISSING CODE>


Which of the following can be used to replace <MISSING CODE> so that the code segment works as intended?

second <- first

second <-temp

temp <- first

temp <- second