Units 6 and 7 Flashcard

Units 6 and 7 Flashcard

Assessment

Flashcard

Computers

11th Grade

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]

Back

i < list.length

3.

FLASHCARD QUESTION

Front

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

Back

30

4.

FLASHCARD QUESTION

Front

What will be displayed when this program finishes running?

Back

5

5.

FLASHCARD QUESTION

Front

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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?