Units 6 and 7 Flashcard

Units 6 and 7 Flashcard

Assessment

Flashcard

Computers

11th Grade

Practice Problem

Easy

Created by

Charles Herzek

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In which instance would a data abstraction be most helpful in a program to track student information and class schedules?

Back

The program includes individual variables to store the names of each student rather than a single list of students.

2.

FLASHCARD QUESTION

Front

Which condition will print all items in a list to the console when placed in ? Options: i < list.length, i <= list.length, i < list[0], i < list[1]

Media Image

Back

i < list.length

3.

FLASHCARD QUESTION

Front

What will be displayed in the console when this program runs?

Media Image

Back

30

4.

FLASHCARD QUESTION

Front

What will be displayed when this program finishes running?

Media Image

Back

5

5.

FLASHCARD QUESTION

Front

What will be displayed in the console when the following program runs?

Media Image

Back

The program will result in an infinite loop

6.

FLASHCARD QUESTION

Front

What will the following program display in the console?
for(var i = 0; i < 4; i++){
console.log(i);
}

Back

0 1 2 3

7.

FLASHCARD QUESTION

Front

What will the following program display in the console?
var sum = 0;
for(var i = 0; i < 5; i++){
sum = sum + i;
}
console.log(sum);

Back

10

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

Already have an account?