COSC-1436 Programming Fundamentals Unit 1 UPDATED Questions and CORRECT Answers
4 views 0 purchase
Course
COSC 1436
Institution
COSC 1436
COSC-1436 Programming Fundamentals
Unit 1 UPDATED Questions and
CORRECT Answers
An Integrated Development Environment typically consists of: - CORRECT ANSWER-
A text editor, A compiler, and A debugger.
The purpose of a memory address is: - CORRECT ANSWER- To identify the location of
a byte...
COSC-1436 Programming Fundamentals
Unit 1 UPDATED Questions and
CORRECT Answers
An Integrated Development Environment typically consists of: - CORRECT ANSWER✔✔-
A text editor, A compiler, and A debugger.
The purpose of a memory address is: - CORRECT ANSWER✔✔- To identify the location of
a byte.
___________ are used to translate each source code instruction into the appropriate machine
language instruction. - CORRECT ANSWER✔✔- Compilers
Characters or symbols that perform operations on one or more operands are: - CORRECT
ANSWER✔✔- Operators
This is used in a program to mark the beginning or ending of a statement, or separate items in
a list. - CORRECT ANSWER✔✔- Punctuation
A set of well-define steps for performing a task or solving a problem is known as a(n): -
CORRECT ANSWER✔✔- Algorithm
The statements written by the programmer are called: - CORRECT ANSWER✔✔- Source
code
Internally, the CPU consists of two parts: - CORRECT ANSWER✔✔- The Control Unit
(CU) and the Arithmetic and Logic Unit (ALU)
Even when there is no power to the computer, data can be held in: - CORRECT
ANSWER✔✔- Secondary storage
Words that have a special meaning and may be used only for their intended purpose are
known as: - CORRECT ANSWER✔✔- Key Words
, In a C++ program, two slash marks (//) indicate: - CORRECT ANSWER✔✔- The beginning
of a comment
A statement that starts with a # symbols is called a: - CORRECT ANSWER✔✔-
Preprocessor directive
The _______ is/are used to display information on the computer's screen. - CORRECT
ANSWER✔✔- cout object
___________ represent storage locations in the computer's memory. - CORRECT
ANSWER✔✔- Variables
Of the following, which is a valid C++ identifier? - CORRECT ANSWER✔✔- All the above
(June1997, employee_number, __department, myExtraLongVaraibleName)
The numeric data types in C++ can be broken into two general categories: - CORRECT
ANSWER✔✔- integer and floating point
These are data items whose values do not change while the program is running. - CORRECT
ANSWER✔✔- Literals
You must have a ______ for every variable you intend to use in a program. - CORRECT
ANSWER✔✔- Definition
What is the modulus operator? - CORRECT ANSWER✔✔- %
Which data type typically requires only one byte of storage? - CORRECT ANSWER✔✔-
char
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 $10.49. You're not tied to anything after your purchase.