Answer the following statements true (T) or false (F)

1) The primitive types (boolean, char, byte, short, int, long, float and double) are portable across only Windows platforms.
2) Specifying the order in which statements execute in a program is called program control
3) The unary cast operator (double) creates a temporary integer copy of its operand.
4) Instance variables of type boolean are given the value true by default.
5) Pseudocode helps you think out a program before attempting to write it in a programming language.


1. False. The primitive types (boolean, char, byte, short, int, long, float and double)
are portable across all computer platforms that support Java.
2. True.
3. False. The unary cast operator (double) creates a temporary floating-point copy of its operand.
4. False. Instance variables of type boolean are given the value false by default.
5. True.

Computer Science & Information Technology

You might also like to view...

An enterprise network is often made up of several local networks connected over which of the following?

A) LAN B) WAN C) MAN D) PAN

Computer Science & Information Technology

A SharePoint ________ provides information about your organization's products or services to anyone with a Web browser

A) team site B) subsite C) top-level site D) public site

Computer Science & Information Technology

The name of the report as well as the parameter, if a parameter query is used, can be found in the ________ of the report

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ____________________ object is used to read text from a file into the program.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology