COSC 1436 Test 1-4 Review UPDATED ACTUAL Questions and CORRECT Answers
3 views 0 purchase
Course
COSC 1436
Institution
COSC 1436
COSC 1436 Test 1-4 Review UPDATED
ACTUAL Questions and CORRECT
Answers
The purpose of a memory address is - CORRECT ANSWER- to identify the location of a
byte in memory
A _____ is a set of instructions that the computer follows to solve a problem - CORRECT
ANSWER- program
This is a set of...
COSC 1436 Test 1-4 Review UPDATED
ACTUAL Questions and CORRECT
Answers
The purpose of a memory address is - CORRECT ANSWER✔✔- to identify the location of a
byte in memory
A _____ is a set of instructions that the computer follows to solve a problem - CORRECT
ANSWER✔✔- program
This is a set of rules that must be followed when constructing a program - CORRECT
ANSWER✔✔- syntax
The _____ decodes an instruction and generates electrical signals - CORRECT
ANSWER✔✔- control unit
T or F: A CPU really only understands instructions that are written in machine language -
CORRECT ANSWER✔✔- true
A set of well-defined steps for performing a task or solving a problem is known as a -
CORRECT ANSWER✔✔- algorithm
An Integrated Development Environment typically consists of - CORRECT ANSWER✔✔- a
text editor, a compiler, and a debugger
During which stage does the central processing unit analyze the instruction and encode it in
the form of a number, and then generate an electronic signal - CORRECT ANSWER✔✔-
decode
______ are used to translate each source code instruction into the appropriate machine
language instruction - CORRECT ANSWER✔✔- compilers
, This is a complete instruction that causes the computer to perform some action - CORRECT
ANSWER✔✔- statement
In a broad sense, the two primary categories of programming languages are - CORRECT
ANSWER✔✔- low-level and high-level
Three primary activities of a program are - CORRECT ANSWER✔✔- input, processing, and
output
This step will uncover any syntax errors in your program - CORRECT ANSWER✔✔-
compiling
Programmer-defined names of memory locations that may hold data are - CORRECT
ANSWER✔✔- variables
During which stage does the central processing unit retrieve from main memory the next
instruction in the sequence of program instructions? - CORRECT ANSWER✔✔- fetch
In C++, key words are written in all lowercase letters - CORRECT ANSWER✔✔- true
Which one of the following would be an illegal variable name? - CORRECT ANSWER✔✔-
3Dgraph
What will the value of x be after the following statements execute?
int x;
x = 18 % 4; - CORRECT ANSWER✔✔- 2
In programming terms, a group of characters inside a set of quotation marks is called a -
CORRECT ANSWER✔✔- string literal
T or F: C++ does not have a built in data type for storing strings of characters - CORRECT
ANSWER✔✔- true
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 $11.49. You're not tied to anything after your purchase.