Topic 4.2 Video 2

Topic 4.2 Video 2

11th Grade

6 Qs

quiz-placeholder

Similar activities

Apple Swift Playgrounds: Vocabulary (Lessons 0 - 3)

Apple Swift Playgrounds: Vocabulary (Lessons 0 - 3)

9th - 12th Grade

10 Qs

2.1.3 CSE Arrays

2.1.3 CSE Arrays

9th - 12th Grade

9 Qs

Introduction to Computer Programming

Introduction to Computer Programming

6th Grade - University

10 Qs

Iteration

Iteration

9th - 12th Grade

10 Qs

AP CSP Vocab Quiz BI 1, 2

AP CSP Vocab Quiz BI 1, 2

9th - 12th Grade

11 Qs

SURATNO HADI SAPUTRA

SURATNO HADI SAPUTRA

KG - University

10 Qs

Help Desk Vocabulary Quiz

Help Desk Vocabulary Quiz

11th Grade

10 Qs

KS3 - Fun Computing Quiz 2

KS3 - Fun Computing Quiz 2

4th - 12th Grade

10 Qs

Topic 4.2 Video 2

Topic 4.2 Video 2

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Myra Deister

Used 1+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an off by one error (OBO)?

A programming mistake where a loop or index is off by zero units.
A programming mistake where a loop or index is off by multiple units.
A programming mistake where a loop or index is off by two units.
A programming mistake where a loop or index is off by one unit.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can a for loop be rewritten as a while loop?

Only in certain cases
Yes
No
Sometimes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these loops will NOT print 10 asterisks (*)?

Media Image
Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by the code below?

 

for(int i=15; i>2; i=i-2)

   System.out.print(i);

 

151311975

1513119753

13119753

15131197531

15131197531-1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following lines of code when added to the given code will print the product of the numbers from 1 to 10 (1*2*3*4*5*6*7*8*9*10)?

s += i * i;

s++;

s *=i;

s = s + s *i;

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Upload a screenshot of the last screen of the video. Make sure your name is displayed and the title of the video. There is an example on the left.

Evaluate responses using AI:

OFF