A Function May Return More Than One Item

Question: The body of a while loop may never execute

Answer: T

Question: After following code fragment, x has the value of 3 int x=3

Answer: T

Question: Loops are used when we used our program to make a choice between two or more things

Answer: F

Question: The body of a do while loop always executes at least once

Answer: T

Question: Every line in a program should have a comment

Answer: F

Question: The integer 0 is considered true

Answer: F

Question: If x has the value of 3, y has the value of -2,and w is 10 is the following condition is true or false? if(x<2 && w<y)

Answer: F

Question: Variables names may begin with a number

Answer: F

Question: It is a legal to declare more than one variable in a single statement

Answer: T

Question: The opposite of (x>3 && x<10) is (x<3&& x>10)

Answer: F

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.