CIT392 TMA4 ANSWERS


Q1 Null is the term used to represent a ……. value
blank
space
missing
field

Q2 …….Is used to start frequently used application on your computer
quick launch
mouse
keyboard
ctrl o

Q3 The task bar represent the applications and files available on the
computer…….
TRUE
'FALSE
certain
a & c

Q4 What is the description for this method abs(x)…….
larger value of x
smaller value of x
absolute value of x
none of the above

Q5 …… Is any vaariable declared with the static modifier
class variable
instance variable
variable
compiler

Q6 What is similar to how an object stores its state in variables
parameters
class variable
local variables
instance variable

Q7 The basic unit of storage in a java program is called…….
variable
initializer
compiler
drain

Q8 In java, the data type used to store characters is…….
char
short
byte
operator
Q9 Short is a signed 64 bit type………….
TRUE
'FALSE
128
32

Q10 The types of integer defined by java are these except…….
long
byte
char
int
Q11 A boolean has how many possible values…….
7
5
2
12

Q12 ……. Is a value typed directly into your program whenever it is
needed
literal constants
symbolic constants
array
functions

Q13 What consist of any number of conseccutive characters enclosed
in double quotation mark…….
switch statement
goto statement
library functions
string constants

Q14 One of these is not an arithmetic operator in c…….
*
%
<
/

Q15 ……. Is an identifier that is used to present some specified type of
information within a designated portion of the program
data type
modulus
variable
logical operators

Q16 ……. Are names given to various program elements
identifiers
functions
statements
string

Q17 This is one of the most important line of code in c program…….
program comments
include statements
integer
variables

Q18 All programing languages does not allow for some form of
comments…….
'FALSE
TRUE
b & d
not sure

Q19 Program comments are explanatory statements that you can
include in the c code that you write to give an overwiew of what the
program is all about…….
'FALSE
TRUE
none of the above
not 'TRUE

Q20 The C programing language was originally developed by……..
satoshi
alex david
dennis ritchie
sir godwin



1 comment:

  1. Nice information thank you,if you want more information please visit our link core Java online course

    ReplyDelete