100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

C++ Zybooks (All) Exam Questions With Correct Answers

Rating
-
Sold
-
Pages
64
Grade
A+
Uploaded on
21-10-2024
Written in
2024/2025

©SIRJOEL EXAM SOLUTIONS 12/3/2024 11:27AM C++ Zybooks (All) Exam Questions With Correct Answers Computer Program - answerconsists of instructions executing one at a time. input - answerA program gets data, perhaps from a le, keyboard, touchscreen, network, etc. process - answerA program performs computations on that data, such as adding two values like x + y output - answerA program puts that data somewhere, such as to a file, screen, network, etc. variables - answerrefers to data computational thinking - answercreating a sequence of instructions to solve a problem algorithm - answerA sequence of instructions that solves a problem program - answerstarts in main(), executing the statements within main's braces { }, one at a time ©SIRJOEL EXAM SOLUTIONS 12/3/2024 11:27AM semicolon - answerends each statement code - answerthe textual representation of a program cout << - answeroutput endl or n - answernewline comment - answertext a programmer adds to code, to be read by humans to better understand the code, but ignored by the compiler. single-line comment - answerstarts with // and includes all the following text on that line. multi-line comment or block comment - answercomment starts with /* and ends with */, where all text between /* and */ is part of the comment. whitespace - answerrefers to blank spaces (space and tab characters) between items within a statement, and blank lines between statements (called newlines). syntax error - answerto violate a programming language's rules on how symbols can be combined to create a program. logic error or bug - answeran error that occurs while a ©SIRJOEL EXAM SOLUTIONS 12/3/2024 11:27AM program runs. warning - answerdoesn't stop the compiler from creating an executable program, but indicates a possible logic error. bits - answerbinary digits, 0s and 1s switch - answercontrols whether or not electricity flows through a wire. circuits - answerconnections of switches processors - answercircuits that process (aka execute) a list of desired calculations instruction - answercalculation memory - answera circuit that can store 0s and 1s in each of a series of thousands of addressed locations program, application, or app - answerThe programmer-created sequence of instructions machine instructions - answerInstructions represented as 0s and 1s executable program - answera sequence of machine instructions together assemblers - answerautomatically translate human

Show more Read less
Institution
Zybook
Course
Zybook











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Zybook
Course
Zybook

Document information

Uploaded on
October 21, 2024
Number of pages
64
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM



C++ Zybooks (All) Exam Questions With
Correct Answers


Computer Program - answer✔consists of instructions executing one at a time.


input - answer✔A program gets data, perhaps from a


le, keyboard, touchscreen, network, etc.


process - answer✔A program performs computations on that data, such as adding two values like

x+y


output - answer✔A program puts that data somewhere, such as to a


file, screen, network, etc.


variables - answer✔refers to data


computational thinking - answer✔creating a sequence of instructions to solve a problem


algorithm - answer✔A sequence of instructions that solves a problem


program - answer✔starts in main(), executing the statements within main's braces { }, one at a

time

, ©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM


semicolon - answer✔ends each statement


code - answer✔the textual representation of a program


cout << - answer✔output


endl or \n - answer✔newline


comment - 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 - answer✔starts with // and includes all the following text on that line.


multi-line comment or block comment - answer✔comment starts with /* and ends with */, where

all text between /* and */ is

part of the comment.


whitespace - answer✔refers to blank spaces (space and tab characters) between items within a


statement, and blank lines between statements (called newlines).


syntax error - answer✔to violate a programming


language's rules on how symbols can be combined to create a program.


logic error or bug - answer✔an error that occurs while a

, ©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM


program runs.


warning - answer✔doesn't stop the compiler from creating an


executable program, but indicates a possible logic error.


bits - answer✔binary digits, 0s and 1s


switch - answer✔controls whether or not electricity


flows through a wire.


circuits - answer✔connections of switches


processors - answer✔circuits that process (aka execute) a list of desired calculations


instruction - answer✔calculation


memory - answer✔a circuit that can store 0s and 1s in each of a


series of thousands of addressed locations


program, application, or app - answer✔The programmer-created sequence of instructions


machine instructions - answer✔Instructions represented as 0s and 1s


executable program - answer✔a sequence of machine instructions together


assemblers - answer✔automatically translate human

, ©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM


readable instructions into

machine instructions.


assembly language instructions - answer✔human readable instructions


high-level languages - answer✔programming languages whose instructions more closely

resemble the English language


compilers - answer✔programs that automatically translate high-level language programs into

executable programs.


screen or monitor - answer✔displays items to a user


keyboard - answer✔allows a user to provide input to the computer


disk or hard drive - answer✔stores files and other data, such as program


files, song/movie files, or office documents. Disks are non-volatile, meaning they maintain their

contents even when powered off.


RAM (random-access memory) - answer✔temporarily holds data read from storage, and is


designed such that any address can be accessed much faster than disk


byte - answer✔8 bits

Get to know the seller

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.
sirjoel Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
104
Member since
1 year
Number of followers
13
Documents
11875
Last sold
4 days ago
Sirjoel

Here you will find all documents and package deals offered by sirjoel

3.4

16 reviews

5
3
4
4
3
7
2
1
1
1

Recently viewed by you

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

Frequently asked questions