Computer - JavaScript

Computer - JavaScript

10th Grade

8 Qs

quiz-placeholder

Similar activities

Swift Classes

Swift Classes

9th - 12th Grade

10 Qs

Conditionals and Logical Operators Review

Conditionals and Logical Operators Review

9th - 12th Grade

10 Qs

Flutter Intermediate

Flutter Intermediate

KG - Professional Development

10 Qs

Pascal

Pascal

10th - 12th Grade

12 Qs

Javascript Lists Lecture Knowledge Check

Javascript Lists Lecture Knowledge Check

9th - 12th Grade

11 Qs

Python String Functions

Python String Functions

10th - 12th Grade

12 Qs

Code.org: Lists, Loops, and Traversals

Code.org: Lists, Loops, and Traversals

9th - 12th Grade

9 Qs

JavaScript variable quiz

JavaScript variable quiz

7th - 12th Grade

10 Qs

Computer - JavaScript

Computer - JavaScript

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Deedee Taylor

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the 3 basic types of variables?

Numbers

Boolean

String

Float

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the 2 Numerical Variables in Java?

Integer

-whole numbers, positive or negative (such as 123 or -456)

Floating point-numbers with a fractional part, containing one or more decimals (40.25)

Byte- 100; Stores whole numbers from -128 to 127

Short-Stores whole numbers from -32,768 to 32,767

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many values do Boolean variables have?

one

(true or false)

indefinite values

three(positive, negative, and neutral)

four(true, false, unknown, and undefined)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string-type variable?

the variable contains a collection of characters (text) surrounded by double quotes ("Hello";)

the variable contains a collection of numbers

(12.45)

the variable contains a collection of words

(hello out there!)

the variable contains a collection of symbols

("++__")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What three characters must a variable start with?

var

int

let

const

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are variable names case-sensitive?

true

false

7.

MATCH QUESTION

1 min • 1 pt

Match the following

boolean

var numApples=3

float

var typeOfApples = "HoneyCrisp"

integer

var costOfApples = 2.50

string

var wantApples = true

8.

MATCH QUESTION

1 min • 1 pt

Match the following

integer

var numOfBushels = 15.5

boolean

var needBushel = false

float

var unitStyle = "tall"

string

var age = 30