Search Header Logo
Tech+ 10.3 Variables

Tech+ 10.3 Variables

Assessment

Presentation

Information Technology (IT)

11th Grade

Practice Problem

Medium

Created by

Sarah Hess

Used 2+ times

FREE Resource

7 Slides • 4 Questions

1

media

2

media

3

media

4

Multiple Choice

What is a float variable type?

1
A float variable type is used for storing whole numbers.
2
A float variable type is a character data type.
3
A float variable type is only for binary data.
4
A float variable type represents numbers with decimal points.

5

Multiple Choice

What is a boolean variable?

1
A boolean variable can only hold numeric values.
2
A boolean variable is a type of string variable.
3
A boolean variable can hold any integer value.
4
A boolean variable is a variable that can hold either true or false.

6

media

onecompiler.com/java

Declare variables

String name;
int age;

Set variable
name = "name"
age = #;

Output the variable
System.out.println(name + " is " + age + " years old.");

Create a variable

7

media

8

media

9

Multiple Choice

Your friend wants to get a mystery novel that was published after 2010, which boolean operator is required.

Mystery novel ___ Published after 2010

1

AND

2

OR

3

XOR

4

NOT

10

Multiple Choice

Your friend is being a pain.
They want you to find either a mystery novel or a book that has 300 pages but it can't be both.
Which boolean operator is required?

1

AND

2

OR

3

NOT

4

XOR

11

​10.3 in Labsim

Finish Access DB and send me pdf

media

Show answer

Auto Play

Slide 1 / 11

SLIDE

Discover more resources for Information Technology (IT)