Review 1

Review 1

9th - 12th Grade

34 Qs

quiz-placeholder

Similar activities

SEJM XII BAB 4 ORGANISASI REGIONAL & GLOBAL

SEJM XII BAB 4 ORGANISASI REGIONAL & GLOBAL

12th Grade

30 Qs

EL TEATRO- 12º

EL TEATRO- 12º

12th Grade

30 Qs

komputer akuntansi

komputer akuntansi

12th Grade

30 Qs

SUMATIF RESENSI

SUMATIF RESENSI

11th Grade

30 Qs

Gambar Teknik Otomotif Kelas X TBSM Ganjil TP. 2020/2021

Gambar Teknik Otomotif Kelas X TBSM Ganjil TP. 2020/2021

10th Grade

30 Qs

Ulangan Harian Manlog Ganjil

Ulangan Harian Manlog Ganjil

10th Grade

30 Qs

HOC ENGINEERING PHASE 1

HOC ENGINEERING PHASE 1

12th Grade

30 Qs

KUIZ MINGGU PENCEGAHAN DADAH DAN ROKOK PERINGKAT SEKOLAH

KUIZ MINGGU PENCEGAHAN DADAH DAN ROKOK PERINGKAT SEKOLAH

1st - 12th Grade

30 Qs

Review 1

Review 1

Assessment

Quiz

Other

9th - 12th Grade

Practice Problem

Easy

Created by

Joyce Lee

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

A student wrote the following program to remove all occurrences of the strings "the" and "a" from the list wordList. While debugging the program, the student realizes that the loop never terminates. Which of the following changes can be made so that the program works as intended?

Inserting index ← index + 1 between lines 6 and 7

Inserting index ← index + 1 between lines 7 and 8

Inserting index ← index - 1 between lines 6 and 7

Inserting index ← index - 1 between lines 7 and 8

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The transmission control protocol (TCP) and Internet protocol (IP) are used in Internet communication. Which of the following best describes the purpose of these protocols?

To ensure that communications between devices on the Internet are above a minimum transmission speed

To ensure that private data is inaccessible to unauthorized devices on the Internet

To establish a common standard for sending messages between devices on the Internet

To validate the ownership of encryption keys used in Internet communication

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the following spinner, which is used to determine how pieces are to be moved on a game board. The region labeled "Move 1 space" is six times as large as each of the other two regions.

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

An Internet user has a need to send private data to another user. Which of the following provides the most security when transmitting private data?

Certifying the data with a Creative Commons license before sending it

Sending the data using a high-bandwidth connection

Sending the data using public-key encryption

Sending the data using redundant routing

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The following procedure is intended to return true if at least two of the three parameters are equal in value and is intended to return false otherwise. For which of the following procedure calls does the procedure NOT return the intended value?

AnyPairs ("bat", "cat", "rat")

AnyPairs ("bat", "bat", "rat")

AnyPairs ("bat", "cat", "bat")

AnyPairs ("bat", "cat", "cat")

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

In the following program, assume that the variable n has been initialized with an integer value. Which of the following is NOT a possible value displayed by the program?

too high

in range

too low

out of range

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following algorithm is intended to determine the average height, in centimeters, of a group of people in a room. Each person has a card, a pencil, and an eraser. Step 2 of the algorithm is missing.

Step 1: All people stand up.

Step 2(missing step)

Step 3: Each standing person finds another standing person and they form a pair. If a person cannot find an unpaired standing person, that person remains standing and waits until the next opportunity to form pairs.

Step 4: In each pair, one person hands their card to the other person and sits down.

Step 5: At this point, the standing person in each pair is holding two cards. The standing person in each pair replaces the top number on their card with the sum of the top numbers on the two cards and replaces the bottom number on their card with the sum of the bottom numbers on the two cards. The sitting partner’s card is discarded.

Step 6: Repeat steps 3–5 until there is only one person standing.

Step 7: The last person standing divides the top number by the bottom number to determine the average height.

Which of the following can be used as step 2 so that the algorithm works as intended?

Step 2: Each person writes their height, in centimeters, at the top of the card and writes the number 1 at the bottom of the card.

Step 2: Each person writes their height, in centimeters, at the top of the card and writes the number 2 at the bottom of the card.

Step 2: Each person writes the number 1 at the top of the card and writes their height, in centimeters, at the bottom of the card.

Step 2: Each person writes the number 2 at the top of the card and writes their height, in centimeters, at the bottom of the card.

Access all questions and much more by creating a free account

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

Already have an account?