Unit 4 - Variables, Conditionals, Functions

Unit 4 - Variables, Conditionals, Functions

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Pemetaan alamat melalui subneting

Pemetaan alamat melalui subneting

10th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

POWERPOINT QUIZZ

POWERPOINT QUIZZ

10th - 12th Grade

20 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

ARQUITECTURA DE COMPUTADORAS

ARQUITECTURA DE COMPUTADORAS

10th Grade

17 Qs

TJBL XI TKJ

TJBL XI TKJ

11th 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?