Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 7

[F1-FORMATIVE] Formative Assessment for Module 1 and 2 (Object-Oriented Programming)

short has a value that ranges from -32768 to 32767

✓ true

false

Question 2

1 / 1 pts

short has a width of 2 bytes

✓true

false

Question 3

1 / 1 pts

A documentation or javadoc comment is enclosed between /** and */

✓true

false

Question 4

1 / 1 pts

byte has a minimum value of -128

false

✓true

Question 5
0 / 1 pts

Correct way of displaying string output is:

System.out.println(‘some text here’);

✓ false

true

Question 6

1 / 1 pts

What are the valid White Spaces available in Java language?

Space

Tab

Enter

✓ All the above

Question 7

1 / 1 pts

Choose a Single Line Comment in Java Language below?

/*Some comments*/

✓ //Some comments

Some comments//

*/Some comments/*

Question 8
1 / 1 pts

One of the tools for Object oriented design includes class hierarchy diagram

false

✓true

Question 9

1 / 1 pts

Name of a Class, Variable, Method or an Interface in Java language is called?

✓ Identifier

Value

None of the above

Argument

Question 10

1 / 1 pts

Oke was the original name of Java

True

✓False

Question 11

1 / 1 pts

byte has a maximum value of 127

✓true

false
Question 12

1 / 1 pts

Java is a portable language that could run on any platform. The language was able to do this by
generating intermediate code for a hypothetical computer called a virtual machine.

False

✓ True

Question 13

1 / 1 pts

A Netbeans feature that provides XML, DTD and CSS Text Editor and XML Productivity Tools Wizards to
help user generate codes.

✓ XML

Version control Support

GUI Builder

Question 14

1 / 1 pts

Correct way of displaying a string output is:

System.out.println(“some text here”);

✓true

false

Question 15

1 / 1 pts
static is a state of a method

false

✓ true

Question 16

0 / 1 pts

nextInteger () reads a integer value from the user.

✓ false

true

Question 17

1 / 1 pts

The JVM creates a software simulation of a CPU and memory

False

✓ True

Question 18

0 / 1 pts

System is a method

✓false

true

Question 19

0 / 1 pts

Sun Microsystems is now a subsidiary of Cisco Corporation?


✓False

True

Question 20

1 / 1 pts

An IDE has build-automation tools.

✓ true

false

Question 21

1 / 1 pts

"\t" is an escape character for tab.

false

✓ true

Question 22

0 / 1 pts

float has a width of 8 bytes

true

✓ false

Question 23

1 / 1 pts

It is a class used to get user input.

Scanner
In

Scan

Input

Question 24

1 / 1 pts

A function in C language is similar to what in Java language?

None of the above

Member

Variable

✓ Method

Question 25

1 / 1 pts

The loader for java applications.

✓ java

javac

javadoc

You might also like