Conditionals Tracing

Conditionals Tracing

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Comparison, If, Switch

Standards-aligned

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

All switch statements can be written as if statements, but not all if statements can be written as switch statements.

Back

True

Tags

Comparison

2.

FLASHCARD QUESTION

Front

What is output? For reference: mean(examScores) --> 89 std(examScores) --> 10.3199 Options: 'Exam went well for a few students', 'Exam went well for a few students, some failed', 'Exam went well', 'Exam went poorly'

Media Image

Back

'Exam went well for a few students, some failed'

Tags

If

3.

FLASHCARD QUESTION

Front

What is a? Options: 'New', Error, 0, 8

Media Image

Back

Error

Tags

If

4.

FLASHCARD QUESTION

Front

Are these the same?

Media Image

Back

False

Tags

Comparison

5.

FLASHCARD QUESTION

Front

What is a? Options: -1, -2, -4, 41

Media Image

Back

-4

Tags

If

6.

FLASHCARD QUESTION

Front

Are these the same?

Media Image

Back

False

Tags

Comparison

7.

FLASHCARD QUESTION

Front

What is out? Options: Error, 'Too many cows are swimming', 'Not enough', 'Too many cows'

Media Image

Back

'Too many cows'

Tags

Switch

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?

Discover more resources for Computers