COMPROG - IWAMOTO

COMPROG - IWAMOTO

25 Qs

quiz-placeholder

Similar activities

Grammar: Comparatives and superlatives, Positive, negative

Grammar: Comparatives and superlatives, Positive, negative

5th Grade

20 Qs

Quiz peluang

Quiz peluang

9th - 12th Grade

20 Qs

Simple, Compound, & Complex Sentences Task Cards M8W3D2

Simple, Compound, & Complex Sentences Task Cards M8W3D2

4th Grade

25 Qs

Ujian Seni Budaya dan Prakarya

Ujian Seni Budaya dan Prakarya

KG - University

28 Qs

Penilaian Harian T2ST3

Penilaian Harian T2ST3

KG - University

29 Qs

Practice MC #1(Questions #1-20) - 2024

Practice MC #1(Questions #1-20) - 2024

9th - 12th Grade

20 Qs

COMPROG - IWAMOTO

COMPROG - IWAMOTO

Assessment

Quiz

others

Easy

Created by

Lloyd Castro

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following special symbol allowed in a variable name?
a. – (hyphen)
b. * (asterisk)
c. _ (underscore)
d. | (pipeline)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you round off a value from 2.57 to 3.0?
a. roundup(2.57)
b. floor(2.57)
c. ceil(2.57)
d. roundto(2.57)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what will be the output of the following code? int y = 100; int y = 15; print “Hello World!”, y;
a. Hello World! followed by a junk value
b. Hello World! 100
c. Hello World! 15
d. Compile time error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A program that translates a high-level language into machine code
a. Compiler
b. Assembler
c. Linker
d. Loader

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A location in memory referenced by an identifier, that contains a data value that can be changed.
a. Data Type
b. Variable
c. Constant
d. Memory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A statement that stores the value of an expression into a variable
a. Assignment Statement
b. Arithmetic Statement
c. Logical Statement
d. Comparison Statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid variable name?
a. float rate;
b. double num_num;
c. int num;
d. float $num;

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?