Unit 4 - Variables, Conditionals, Functions

Unit 4 - Variables, Conditionals, Functions

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

1.1.3 Proses Penyelesaian Masalah

1.1.3 Proses Penyelesaian Masalah

11th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

Word

Word

11th Grade

18 Qs

Evaluación Primer Periodo Excel

Evaluación Primer Periodo Excel

10th Grade

20 Qs

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

12th Grade

20 Qs

COMPRAR UNA LAPTOP

COMPRAR UNA LAPTOP

10th Grade

20 Qs

Unit 4 - Variables, Conditionals, Functions

Unit 4 - Variables, Conditionals, Functions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Brian Ranallo

Used 37+ times

FREE Resource

AI

Enhance your content in a minute

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

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the order of letters printed to the console when this program is run?

a b c

a b c b c b c

a b c b c

a b c a

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This function chooses the screen to display based on the score. What is the correct way to call this function?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the value of the variable bags be at the end of the flowchart shown here?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct definition for Conditional Statement.

affects the sequential flow of control by executing different statements based on the value of a Boolean expression

stores information as a number, String, or Boolean

joins together two or more strings end-to-end to make a new string

an ordered sequence of characters

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What number will be output by the console.log command on line 7?

10

100

20

200

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This flowchart is used by an apartment rental Web site to set the variable "include" to "true" for apartments that meet certain criteria.

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variable age is to be used to represent a person’s age, in years. Which of the following is the most appropriate data type for age ?

boolean

number

string

list

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?