• wonderlic tests
  • EXAM REVIEW
  • NCCCO Examination
  • Summary
  • Class notes
  • QUESTIONS & ANSWERS
  • NCLEX EXAM
  • Exam (elaborations)
  • Study guide
  • Latest nclex materials
  • HESI EXAMS
  • EXAMS AND CERTIFICATIONS
  • HESI ENTRANCE EXAM
  • ATI EXAM
  • NR AND NUR Exams
  • Gizmos
  • PORTAGE LEARNING
  • Ihuman Case Study
  • LETRS
  • NURS EXAM
  • NSG Exam
  • Testbanks
  • Vsim
  • Latest WGU
  • AQA PAPERS AND MARK SCHEME
  • DMV
  • WGU EXAM
  • exam bundles
  • Study Material
  • Study Notes
  • Test Prep

FREE COMPUTERS AND STUDY GAMES ABOUT CS2250

EXAM REVIEW Jan 11, 2026
Preview Mode - Purchase to view full document
Loading...

Loading study material viewer...

Page 0 of 0

Document Text

PDF Download

FREE COMPUTERS AND STUDY GAMES ABOUT CS2250

EXAM QUESTIONS

Actual Qs and Ans Expert-Verified Explanation

This Exam contains:

-Guarantee passing score -76 Questions and Answers -format set of multiple-choice -Expert-Verified Explanation Question 1: In a function header, you must furnish:

Answer:

data type(s) of the parameters data type of the return value the name of function names of parameter variables Question 2: The ________ is automatically appended to a character array when it is initialized with a string constant.

Answer:

null terminator

Question 3: When a relational expression is false, it has the value ________.

Answer:

zero

Question 4: Arrays may be ________ at the time they are ________.

Answer:

initialized, declared

Question 5: This statement causes a loop to terminate early.

Answer:

break

Question 6: Subscript numbering in C++

Answer:

begins with 0 Question 7: A local variable and a global variable may not have the same name within the same program.

Answer:

false

Question 8: In a for statement, this expression is executed only once.

Answer:

intialization Question 9: The scope of a variable declared in a for loop's initialization expression always extends beyond the body of the loop.

Answer:

false

Question 10: What is the value of the following expression?

true && true

Answer:

false

Question 11: Local variables are initialized to zero by default.

Answer:

false

Question 12: A(n) ________ can be used to specify the starting values of an array.

Answer:

initialization list Question 13: The default section of a switch statement performs a similar task as the ________ portion of an if/else if statement.

Answer:

trailing else Question 14: By using the same ________ you can build relationships between data stored in two or more arrays

Answer:

subscripts Question 15: An array can store a group of values, but the values must be:

Answer:

the same data type Question 16: An array of string objects that will hold 5 names would be declared using which statement?

Answer:

string names[5]; Question 17: You may nest while and do-while loops, but you may not nest for loops.

Answer:

false Question 18: In C++ the = operator indicates:

Answer:

assignment Question 19: An individual array element can be processed like any other type of C++ variable.

Answer:

true

Question 20: The do-while loop is considered a(n) ________ loop.

Answer:

post-test Question 21: A file must be ________ before data can be written to or read from it.

Answer:

opened Question 22: It is ________ to pass an argument to a function that contains an individual array element, such as numbers[3].

Answer:

legal in C++

Question 23: A ________ variable is declared outside all functions.

Answer:

global Question 24: You may not use the break and continue statements within the same set of nested loops.

Answer:

false

Question 25: variables need to be declared before they can be used

Answer:

false

Question 26: Floating point constants are normally stored in memory as doubles

Answer:

true Question 27: To access an array element, use the array name and the element's:

Answer:

subscript

Download Study Material

Buy This Study Material

$11.99
Buy Now
  • Immediate download after payment
  • Available in the pdf format
  • 100% satisfaction guarantee

Study Material Information

Category: EXAM REVIEW
Description:

PDF Download FREE COMPUTERS AND STUDY GAMES ABOUT CS2250 EXAM QUESTIONS Actual Qs and Ans Expert-Verified Explanation This Exam contains: -Guarantee passing score -76 Questions and Answers -format ...

UNLOCK ACCESS $11.99