6.1-6.3 Control Structure Quiz

6.1-6.3 Control Structure Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Office 365

Office 365

12th Grade

10 Qs

ICT 10 - Quiz - Part 2

ICT 10 - Quiz - Part 2

10th Grade

10 Qs

C Coder -1

C Coder -1

5th - 10th Grade

10 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

6.1-6.3 Control Structure Quiz

6.1-6.3 Control Structure Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

DeJa Tunstall

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q. 

Which of the following is NOT a logical operator?

!

==

&&

!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that can only have two values, True or False.

If/Else

If Statement

Boolean Expression

Else Statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an If Statement?

An expression that evaluates if a variable is true or false

A statement that tests if two values are equal

A type of conditional that lets you complete a task if the condition is "true"

A statement that tests if two values are unequal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an If/Else Statement?

a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times.

a control flow statement that executes code repeatedly based on a given Boolean expression.

a control flow statement that executes code repeatedly based on a given Boolean expression.

A conditional statement that runs a different set of statements depending on whether an expression is true or false.

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Below, create a variable and assign it a boolean value of either true or false.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the output of the following program?

function main() {

let isHot = false;

if (isHot) {

console.log("The temperature feels great!");

} else {

console.log("It's too darn hot!");

}

}

main();

This program has no output.

It's too darn hot!

This program will run an error.

The temperature feels great!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

T/F: readBoolean means is used to read one input byte and if the byte read is zero this method returns false and if the byte read is nonzero then this method returns true.

True

False

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?