Traversal & String Method Review

Traversal & String Method Review

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Ôn tập Tin học 5 HKI

Ôn tập Tin học 5 HKI

4th Grade - University

20 Qs

حاسب 2

حاسب 2

10th Grade

15 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

INFORMATIKA_8

INFORMATIKA_8

7th - 9th Grade

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Quiz Informatika Bab 3 & 4

Quiz Informatika Bab 3 & 4

10th Grade

20 Qs

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 Qs

Traversal & String Method Review

Traversal & String Method Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Donna Panter

Used 87+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of accessing every item in a list is considered which of the following?

for Loops

traversals

while Loops

appendItems

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A program is designed to determine the minimum value in a list of positive numbers called numList. Which of the following can be used to replace <MISSING CODE> so that the program works as intended for every possible list of positive numbers?

0

1000000

numList.length

numList[0]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are the values of count1 and count2 as a result of executing the code segment?

count1 = 2,

count2 = 2

count1 = 2,

count2 = 3

count1 = 3,

count2 = 2

count1 = 5,

count2 = 0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following will result in ONLY all the items in list being printed to the console if placed where the program reads <INSERT CODE> and the program is run?

i < list[list.length]

i < list.length

i < list[0]

i < list[1]

5.

MULTIPLE CHOICE QUESTION

0 sec • 1 pt

Media Image

ages and names contain information about students in a classroom. A programmer has already written the code with that information.

Which of the following programs will result in filteredNames only containing the names of students who are 17 or older?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If the program is run, what will be displayed in the console?

[apple, dream]

[bug, car, ear]

[bug, car, ear, food]

[apple, dream, food]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A program is designed to determine the minimum value in a list of positive numbers called numList. Which of the following can be used to replace <MISSING CODE> so that the program works as intended for every possible list of positive numbers?

0

1000000

numList.length

numList[0]

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?