Tuesday, October 10, 2017

Midterm Review Fall 2017

1 comment:

jls said...

C++ 1 CIST 2361 MidTerm Hints
Oct 10, 2017

open books open notes

33 questions 7 T/F 26 MC

Lots of - what is the output of..

expression && will it eval to true or false?

does type in return statement matter? inside a method

function prototype - declaration T/F

advantage of functions readableaty and complexity of main

TF - cin number entering - Carriage Return same as white space

TF should you redefine cin and cout

TF control structure flow of execution

TF - operator not equal to and == order of operations

return 1, 2; or return a,b;

cout, set fill, set w and endl

2 questions on formating cn u see what happens?

results of integer division

operator precedence !, or, &&, and =

length of string

cin.get and extraction operator - know difference

for loop - know 3 parts