• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

Computer Programming 2 Exam Questions and Solutions Latest Version 2025 (Already Passed)

Document preview thumbnail
Preview 1 out of 4 pages

Computer Programming 2 Exam Questions and Solutions Latest Version 2025 (Already Passed) compiler - Answers translate entire program at once interpreter - Answers translate one line at a time escape - Answers n indicates new line function header - Answers return type, name of function, function parameters logical error - Answers good syntax, but doesn't do what you intended octothorp - Answers # preprocessor - Answers what to do before program compiles scope - Answers region in which the variable exists syntax - Answers rules of any language machine language - Answers binary, 1's and 0's, the most basic form of computer language translator - Answers checks program for syntax errors += - Answers add and assign operator & - Answers refers to memory address of variable cast - Answers transform one data type to another data type check digit - Answers digit at the end of a number that validates authenticity mixed expression - Answers operands have different data types % - Answers modulus operator, returns the remainder of integer division ! - Answers not operator ++ - Answers prefix and postfix increment before and after variable dead logical path - Answers path with unreachable code if else structure - Answers takes one action if this or another action if that logic is false if else if - Answers structure when the new decision is nested within the else clause of another decision && - Answers logical and || - Answers logical or nested if - Answers if that rests entirely within another if structure within the if or else clause single alternative selection - Answers action takes place only when the result is true switch - Answers case statements that serve as an alternative to if statements accumulate - Answers process individual records one at a time in a loop and adding to a total count controlled loop - Answers type of loop whose execution is controlled by counting the number of reps definite loop - Answers type of loop that must execute a set number of times do while statement - Answers statement that controls a loop by testing at the bottom of the loop for statement - Answers statement that initializes, compares, and alters a loop control variable garbage - Answers value that is uninitialized and useless inner loop - Answers loop that falls entirely within the body of another iterations - Answers repetitions iterator - Answers variable used to count the execution of a loop loop body - Answers statements that execute within {} loop loop control variable - Answers variable that controls the execution of a loop body sentinel value - Answers value that determines/kicks out of a loop while loop - Answers loop that executes so long as a certain condition is true element - Answers single object within an array flag variable - Answers variable used to mark an occurrence getline function - Answers function that reads characters into an array up to a size limit hexadecimal - Answers base 16 numbering system null character - Answers character represented by 0 out of bounds - Answers phrase describing memory locations that are beyond an array parallel arrays - Answers corresponding arrays in which values in the same relative

Content preview

Computer Programming 2 Exam Questions and Solutions Latest Version 2025 (Already Passed)



compiler - Answers translate entire program at once

interpreter - Answers translate one line at a time

escape - Answers \n indicates new line

function header - Answers return type, name of function, function parameters

logical error - Answers good syntax, but doesn't do what you intended

octothorp - Answers #

preprocessor - Answers what to do before program compiles

scope - Answers region in which the variable exists

syntax - Answers rules of any language

machine language - Answers binary, 1's and 0's, the most basic form of computer language

translator - Answers checks program for syntax errors

+= - Answers add and assign operator

& - Answers refers to memory address of variable

cast - Answers transform one data type to another data type

check digit - Answers digit at the end of a number that validates authenticity

mixed expression - Answers operands have different data types

% - Answers modulus operator, returns the remainder of integer division

! - Answers not operator

++ - Answers prefix and postfix increment before and after variable

dead logical path - Answers path with unreachable code

if else structure - Answers takes one action if this or another action if that logic is false

if else if - Answers structure when the new decision is nested within the else clause of another decision

&& - Answers logical and

Document information

Uploaded on
January 2, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorJosh
3.5
(82)
Sold
518
Followers
17
Items
33567
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions