Pre-test CTCC0323

Pre-test CTCC0323

16 Qs

quiz-placeholder

Similar activities

Spring Test for Class X 2024

Spring Test for Class X 2024

10th Grade

17 Qs

Getting to know you!

Getting to know you!

9th - 12th Grade

14 Qs

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

KG - University

13 Qs

Quiz - 5 on Increment and Decrement Operators

Quiz - 5 on Increment and Decrement Operators

KG - University

15 Qs

ACTIVITY WORKSHEET Q2

ACTIVITY WORKSHEET Q2

KG - University

20 Qs

AO1 ACTIVITY WORKSHEET

AO1 ACTIVITY WORKSHEET

KG - University

20 Qs

C++ Basics Quiz

C++ Basics Quiz

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?