Practice Quiz

Practice Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Evolução dos Computadores - Hardware e Software

Evolução dos Computadores - Hardware e Software

10th Grade

10 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

Dispositivos periféricos 4 Bio B

Dispositivos periféricos 4 Bio B

12th Grade

14 Qs

Përdorimi i sigurt i internetit. Platforma eTwinning

Përdorimi i sigurt i internetit. Platforma eTwinning

5th - 12th Grade

15 Qs

Database Features

Database Features

11th Grade

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Identidad Corporativa

Identidad Corporativa

10th Grade

15 Qs

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

Practice Quiz

Practice Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following code segment, which uses the variables r, s, and t.
r <-- 1
s <-- 2
t <-- 3
r <-- s
s <-- t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running the code segment? 
(A) 1 1
(B) 1 2
(C) 2 3 
(D) 3 2

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a true statement about program documentation?
(A) Program documentation should not be changed after it is first written
(B) Program documentation is only needed for programs in development; it is not needed after a program is completed
(C) Program documentation is useful when programmers collaborate but not when a programmer works individually on a project
(D) Program documentation is useful during initial program development and also when modifications are made to existing programs

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following best explains what happens when a new device is connected to the Internet?
(A) A device driver is assigned to the device
(B) Internet Protocol (IP) address is assigned to the device
(C) A packet number is assigned to the device
(D) A Web site is assigned to the device

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Consider the following code segment. (As seen in the picture) Which of the following replacements for "<MISSING CONDITION>" will result in an infinite loop?
(A)  j = 6
(A)  j ≥ 6
(A)  j = 7
(A)  j > 7

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The algorithm below is used to simulate the results of flipping a coin 4 times. Consider the goal of determining whether the simulation resulted in an equal number of heads and tails.
Step 1 :  Initialize the variables "heads_counter" and "flip_counter" to 0.
Step 2 :  A variable "coin_flip" is randomly assigned a value of either 0 or 1. If "coin_flip" has the value 0, the coin flip result is heads, so heads-counter is incremented by 1.
Step 3 :  Increment the value of "flip_counter" by 1.
Step 4 :  Repeat steps 2 and 3 until "flip_counter" equals 4.
Following execution of the algorithm, which of the following expressions indicates that the simulation resulted in an equal number of heads and tails?
(A) Coin_flip = 1
(B) flip_counter = 1
(C) flip_counter = 2
(D) heads_counter = 2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An algorithm has been developed to compute the sum of all the elements in a list of integers. Which of the following programming structures must be added to the existing algorithm so that the new algorithm computes the sum of only the even integers in the list?
(A) Iteration
(B) Searching
(C) Selection
(D) Sequencing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following activities poses the greatest personal cybersecurity risk?
(A) Making a purchase at an online store that uses public key encryption to transmit credit card  information
(B) Paying a bill using a secure electronic payment system
(C) Reserving a hotel room by e-mailing a credit card number to a hotel
(D) ) Withdrawing money from a bank account using an automated teller machine (ATM)

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?