CS A 3.1 Boolean Expressions

CS A 3.1 Boolean Expressions

9th - 12th Grade

34 Qs

quiz-placeholder

Similar activities

VEX EXP Spiral Review Test

VEX EXP Spiral Review Test

12th Grade

36 Qs

PEKAN ULANGAN HARIAN  RPL

PEKAN ULANGAN HARIAN RPL

12th Grade

36 Qs

Quiz CCNA1 Final Gamificado

Quiz CCNA1 Final Gamificado

1st - 10th Grade

30 Qs

COP NSDA L3= 0006

COP NSDA L3= 0006

12th Grade

32 Qs

情報1_第三学期_総復習

情報1_第三学期_総復習

9th Grade - University

35 Qs

Java Script

Java Script

9th Grade - Professional Development

39 Qs

Final Review - Intro to CS 2021 (Part 4)

Final Review - Intro to CS 2021 (Part 4)

7th - 12th Grade

30 Qs

R081 Revision End of year test

R081 Revision End of year test

10th - 11th Grade

30 Qs

CS A 3.1 Boolean Expressions

CS A 3.1 Boolean Expressions

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Diane Glasgow

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

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

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( a == b );

True

False

0

1

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( e/a == d );

True

False

0

1

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( c != d );

True

False

0

1

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println(e < d );

True

False

0

1

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( a+b >= d );

True

False

0

1

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( 2*a+1 < c );

True

False

0

1

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given the following variable declarations, what is printed as a result of each line of code?

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 10;

int number1 = 19;

int number2 = 38;

System.out.println( e - d >= c + 1 );

True

False

0

1

Create a free account and access millions of resources

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?