T_4.2 Identifier, Data Types, Operators & Expressions

T_4.2 Identifier, Data Types, Operators & Expressions

12th Grade

10 Qs

quiz-placeholder

Similar activities

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Programming

Programming

University

12 Qs

UAS TLJ

UAS TLJ

9th - 12th Grade

15 Qs

Quiz on Array

Quiz on Array

11th - 12th Grade

10 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Quiz sobre o Scratch Básico

Quiz sobre o Scratch Básico

12th Grade

15 Qs

T_4.2 Identifier, Data Types, Operators & Expressions

T_4.2 Identifier, Data Types, Operators & Expressions

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

LATIFAH ZAKARIA

Used 31+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify VALID identifier.

24Century

sum_&_difference

double

MyVariable

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Create a variable called myNum of type int and assign it the value 15

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Declare a constant for PI with value 3.142

4.

MULTIPLE SELECT QUESTION

45 sec • 3 pts

Tick all the Java reserved words.

enum

const

float

num

5.

MULTIPLE SELECT QUESTION

45 sec • 4 pts

Select primitive data types.

int

float/double

boolean

char

String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function for escape sequence \n ?

insert a tab in the text

insert a new line in the text

insert a new space in the text

insert a double line in the text

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is given that

a = 5, b = 2, c = 4 and d = 6

What is the result for this relational expressions?

a * c != d * b

true

false

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?