Pre-test CTCC0323

Pre-test CTCC0323

16 Qs

quiz-placeholder

Similar activities

Java Quiz 1

Java Quiz 1

KG - University

12 Qs

Java Refresher

Java Refresher

KG - University

11 Qs

__Blq.A.2bAB

__Blq.A.2bAB

KG

21 Qs

Evaluación Python G-10 4P NOV

Evaluación Python G-10 4P NOV

KG - University

11 Qs

Parcial I - I Serie- Programación I - 4to BACO - I Unidad

Parcial I - I Serie- Programación I - 4to BACO - I Unidad

KG - University

15 Qs

Quiz - Alpro D

Quiz - Alpro D

KG - University

20 Qs

Examen Corto - Programación I - 4to PC - II Unidad

Examen Corto - Programación I - 4to PC - II Unidad

KG - University

13 Qs

UTS -Perbaikan - Alpro D

UTS -Perbaikan - Alpro D

KG - University

20 Qs

Pre-test CTCC0323

Pre-test CTCC0323

Assessment

Quiz

others

Hard

Created by

Ruben Espejo

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is INVALID expression?
String age = "twenty one";
int age = 55;
Char vowel = "one";
double num1 = 3.1416;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of conditional statement has only one possible outcome statement?
if
if...else
if...elseif...else
Switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following conditional statement can only have two possible outcome statement?
if
if...else
if...elseif...else
Switch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following syntax in creating an expression is VALID?
if (num1 > num2 + 4)
else if (true || 5)
if (num1 + num2 && age)
else if (true > false)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following syntax in creating an expression is INVALID?
if (true && false || true)
else if (true || 67>45)
if (age <= !false)
else if (!true && false)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following variable declaration is INVALID?
double average = 2;
String name = "number";
boolean stat = "true";
char letter = '1';

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

c = c * 10; Can also be written as?
c=*10;
c*=10;
c = c * c;
c = 10 * c;

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?