Unit 5 Review Code.org - Part 3

Unit 5 Review Code.org - Part 3

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Networks and Internet

Networks and Internet

10th Grade

10 Qs

social engineering

social engineering

1st Grade - Professional Development

10 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Inspire - AI Trivia

Inspire - AI Trivia

11th Grade

10 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Unit 5 Review Code.org - Part 3

Unit 5 Review Code.org - Part 3

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Robert Garber

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following JavaScript code segment?

5hello

5 + hello

error on num + str: type mismatch

result

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following JavaScript code segment?

10

error on str1 + str2: type mismatch

55

result

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Boolean expression is an expression that evaluates to which of the of the following?

Yes/Maybe/No

True/False

Any Integer

Integers between 1 and 10

Any single character

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the expected output of the given pseudo code segment? A reference for the pseudo code can be found immediately below the question

35

true

false

You are not old enough to be President.

You are old enough to be President.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the following segment given in pseudo code. What will be displayed if grade is set to 70?

You passed!

Time to start studying again!

You passed! and Time to start studying again!

Nothing will be displayed

An error will occur on line 7; you cannot have an IF inside an ELSE statement

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Consider the JavaScript code segment below. Which statement should be used in place of <missing code> such that the alarm is set to 9:00 am on weekends, and 6:30 am on weekdays.

day == "Saturday"

day == "Sunday"

(day == "Saturday") || (day == "Sunday")

(day == "Saturday") && (day == "Sunday")

day != "Monday"