COMPROG - IWAMOTO

COMPROG - IWAMOTO

25 Qs

quiz-placeholder

Similar activities

Unit 3 Quiz: Chemical Bonding

Unit 3 Quiz: Chemical Bonding

KG - University

20 Qs

Unit 2 Review

Unit 2 Review

KG - University

20 Qs

Tech Ed Assessment 3.0/4.0

Tech Ed Assessment 3.0/4.0

1st - 5th Grade

20 Qs

Shipwreck at the Bottom of the World_ (1).pdf

Shipwreck at the Bottom of the World_ (1).pdf

KG - University

20 Qs

Adaptations Quiz Review

Adaptations Quiz Review

7th Grade

20 Qs

Ch 8 Greece Lessons 1-2 Vocabulary Quiz

Ch 8 Greece Lessons 1-2 Vocabulary Quiz

KG - University

20 Qs

Influence on Japan

Influence on Japan

7th 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?