MULTIPLE CHOICE.....!!!!

May 20th, 2015
KateS
Category:
Programming
Price: $15 USD

Question description

please look @ assignment.docx

 QUESTION 1

1.  What is the answer for the following operation: (3+5) * 10 - 4/8

 

A.

79.5

 

B.

9.5

 

C.

47.7

 

D.

76

QUESTION 2

1.  All of the variables in an array have the same name and data type but are differentiated with special numbers called subscripts.

 True

 False

QUESTION 3

1.  When you combine AND and OR operators within the same statement, the AND operators take precedence.

 True

 False

QUESTION 4

1.  The ____ variable is initialized before entering the loop.

 

A.

loop ending

 

B.

ending control

 

C.

interrupt control

 

D.

loop control

QUESTION 5

1.  Misuse of a language’s grammar rules is called a(n) ____ error.

 

A.

illegal

 

B.

logical

 

C.

syntax

 

D.

semantic

QUESTION 6

1.  Program comments are nonexecuting statements.

 True

 False

QUESTION 7

1.  Many programming languages allow you to use ____ to force an expression to evaluate first.

 

A.

a pound sign

 

B.

an asterisk

 

C.

parentheses

 

D.

quotation marks

QUESTION 8

1.  The two major components of any computer system are its hardware and its software.

 True

 False

QUESTION 9

1.  The selection structure is also called an if-then structure.

 True

 False

 

QUESTION 10

1.  In the following statement, which operation is done third?answer = a + b + c * d / e - f

 

A.

a+b

 

B.

b+c

 

C.

e-f

 

D.

d/e

QUESTION 11

1.  A variable declaration is a statement that provides a data type and identifier for a variable

 True

 False

QUESTION 12

1.  An error commonly made by beginning programmers is to forget that array subscripts start with the integer 1.

 True

 False

QUESTION 13

1.  An AND decision can be constructed using a ____ decision.

 

A.

nested

 

B.

stacked

 

C.

combined

 

D.

dual

QUESTION 14

1.  Which language does a computer know?

 

A.

Java

 

B.

C++

 

C.

high-level

 

D.

machine language

QUESTION 15

1.  An algorithm is the sequence of steps necessary to solve a problem.

 True

 False

QUESTION 16

1.  The body of a loop can contain only a limited number of statements.

 True

 False

QUESTION 17

1.  What would be the output of the following expression if the temperature outside is 30 degrees?

If temperature >=35 and temperature <= 55 then

  output “it is cold outside”

else output “The weather is nice today”

 

A.

The weather is nice today

 

B.

The temperature is 45

 

C.

it is cold outside

 

D.

none of the above

QUESTION 18

1.  A noun would be a good choice for a variable or constant identifier.

 True

 False

QUESTION 19

1.  The piece of hardware that performs processing tasks is the central data unit.

 True

 False

QUESTION 20

1.  To use computer programs, you must first load them into memory.

 True

 False

QUESTION 21

1.  ____ a data item means you override incorrect data by setting the variable to a specific value.

 

A.

Forcing

 

B.

Incrementing

 

C.

Initializing

 

D.

Terminating

QUESTION 22

1.  A loop control variable’s value is tested to control the loop’s execution.

 True

 False

QUESTION 23

1.  What operator has the lowest precedence?

 

A.

+

 

B.

/

 

C.

*

 

D.

=

QUESTION 24

1.  What will be the value stored in the variable total when the following code completes executing:

count = num 
total = num = 0

For count = 1 to 10

  total = total + count

endfor

 

A.

10

 

B.

55

 

C.

45

 

D.

0

 

QUESTION 25

1.  When using the OR operator, an action is taken when at least one of the comparisons evaluates to true.

 True

 False


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UT Austin
PREMIUM TUTOR

Studypool has helped 1,244,100 students

8 Reviews


Summary
Quality
Communication
On Time
Value
Five Star Tutor
Dec 2nd, 2016
" Outstanding Job!!!! "
SjSurvivor143
Nov 16th, 2016
" Thanks for the help. "
Joemoe
Nov 3rd, 2016
" <3 it, thanks for saving me time. "
tinytim47
Oct 25th, 2016
" Wow this is really good.... didn't expect it. Sweet!!!! "
pmallory
Oct 20th, 2016
" Totally impressed with results!! :-) "
mixedballz
Oct 11th, 2016
" excellent work as always thanks for the help "
kiln82
Sep 28th, 2016
" awesome work thanks "
darnay
Sep 19th, 2016
" The best tutor out there!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1830 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors