Question: I have a Computing 1 test on Tuesday I would like help with the past paper I am working on this question 2. Which data
I have a Computing 1 test on Tuesday
I would like help with the past paper I am working on this question
2. Which data type is used to represent the absence of parameters for a function?
a. int
b. short
c. void
d. float
3. Which type is best suited to represent logic values?
a. int b. bool
c. char d. all of the mentioned
4. Which of the statements are true about the following line of code?
int f(float);
a. f is a function taking an argument of type int and returning a floating point number
b. f is a function taking an argument of type float and returning an integer
c. f is a function of type float
d. none of the mentioned
5. The value 132.54 can be represented using which data type?
a. double
b. void
c. int
d. bool
6. The keyword used inside a loop to return to the beginning of the loop is
a. exit
b. goto
c. continue
d. return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
