C++ Zybooks UPDATED Actual Exam Questions and CORRECT Answers
5 views 0 purchase
Course
Zybooks
Institution
Zybooks
C++ Zybooks UPDATED Actual Exam
Questions and CORRECT Answers
Computer Program - CORRECT ANSWER- consists of instructions executing one at a
time.
input - CORRECT ANSWER- A program gets data, perhaps from a
le, keyboard, touchscreen, network, etc.
process - CORRECT ANSWER- A program perform...
C++ Zybooks UPDATED Actual Exam
Questions and CORRECT Answers
Computer Program - CORRECT ANSWER- ✔✔consists of instructions executing one at a
time.
input - CORRECT ANSWER- ✔✔A program gets data, perhaps from a
le, keyboard, touchscreen, network, etc.
process - CORRECT ANSWER- ✔✔A program performs computations on that data, such as
adding two values like x + y
output - CORRECT ANSWER- ✔✔A program puts that data somewhere, such as to a
file, screen, network, etc.
variables - CORRECT ANSWER- ✔✔refers to data
computational thinking - CORRECT ANSWER- ✔✔creating a sequence of instructions to
solve a problem
algorithm - CORRECT ANSWER- ✔✔A sequence of instructions that solves a problem
program - CORRECT ANSWER- ✔✔starts in main(), executing the statements within main's
braces { }, one at a time
semicolon - CORRECT ANSWER- ✔✔ends each statement
code - CORRECT ANSWER- ✔✔the textual representation of a program
cout << - CORRECT ANSWER- ✔✔output
,endl or \n - CORRECT ANSWER- ✔✔newline
comment - CORRECT ANSWER- ✔✔text a programmer adds to code, to be read by humans
to better understand the
code, but ignored by the compiler.
single-line comment - CORRECT ANSWER- ✔✔starts with // and includes all the following
text on that line.
multi-line comment or block comment - CORRECT ANSWER- ✔✔comment starts with /*
and ends with */, where all text between /* and */ is
part of the comment.
whitespace - CORRECT ANSWER- ✔✔refers to blank spaces (space and tab characters)
between items within a
statement, and blank lines between statements (called newlines).
syntax error - CORRECT ANSWER- ✔✔to violate a programming
language's rules on how symbols can be combined to create a program.
logic error or bug - CORRECT ANSWER- ✔✔an error that occurs while a
program runs.
warning - CORRECT ANSWER- ✔✔doesn't stop the compiler from creating an
executable program, but indicates a possible logic error.
bits - CORRECT ANSWER- ✔✔binary digits, 0s and 1s
switch - CORRECT ANSWER- ✔✔controls whether or not electricity
flows through a wire.
, circuits - CORRECT ANSWER- ✔✔connections of switches
processors - CORRECT ANSWER- ✔✔circuits that process (aka execute) a list of desired
calculations
instruction - CORRECT ANSWER- ✔✔calculation
memory - CORRECT ANSWER- ✔✔a circuit that can store 0s and 1s in each of a
series of thousands of addressed locations
program, application, or app - CORRECT ANSWER- ✔✔The programmer-created sequence
of instructions
machine instructions - CORRECT ANSWER- ✔✔Instructions represented as 0s and 1s
executable program - CORRECT ANSWER- ✔✔a sequence of machine instructions together
assemblers - CORRECT ANSWER- ✔✔automatically translate human
readable instructions into
machine instructions.
assembly language instructions - CORRECT ANSWER- ✔✔human readable instructions
high-level languages - CORRECT ANSWER- ✔✔programming languages whose
instructions more closely resemble the English language
compilers - CORRECT ANSWER- ✔✔programs that automatically translate high-level
language programs into executable programs.
screen or monitor - CORRECT ANSWER- ✔✔displays items to a user
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.49. You're not tied to anything after your purchase.