Day 34 - Flashcardziz

Day 34 - Flashcardziz

Assessment

Flashcard

Mathematics

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a boolean variable?

Back

A boolean variable is a data type that can hold one of two values: true or false.

2.

FLASHCARD QUESTION

Front

What does the boolean variable canVote represent in programming?

Back

The boolean variable canVote typically represents whether a person is eligible to vote, with true indicating eligibility and false indicating ineligibility.

3.

FLASHCARD QUESTION

Front

What is the output of a program that prints a number?

Back

The output is the number that is specified in the print statement.

4.

FLASHCARD QUESTION

Front

What does the output '5' indicate in a program?

Back

It indicates that the program has successfully executed a statement that results in the value 5 being printed.

5.

FLASHCARD QUESTION

Front

How do you concatenate two strings in programming?

Back

You concatenate two strings by using the '+' operator or by using specific functions depending on the programming language.

6.

FLASHCARD QUESTION

Front

What is the output of the program if the user inputs 'Florence' and 'Fernandez'?

Back

The output will be 'FlorenceFernandez' if there is no space or newline character between the two inputs.

7.

FLASHCARD QUESTION

Front

What does the comparison operator '!=' mean?

Back

'!=' means 'not equal to' and is used to compare two values.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?