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

Intro to Programming Fundamentals Exam 1

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
02-09-2023
Written in
2023/2024

An Integrated Development Environment typically consists of: - correct answer Text editor, compiler, debugger Programmer-defined names of memory locations that may hold data are: - correct answer Variables According to orientation clip how many hours is required for successful completion of this course? - correct answer 180 hours A CPU really only understands instructions that are written in machine language. - correct answer True A(n) ____________ is a set of instructions that the computer follows to solve a problem. - correct answer Program This is a complete instruction that causes the computer to perform some action. - correct answer Statement According to orientation clip how many EXAMs (excluding FINAL) are there in this course? - correct answer 3 According to orientation clip what grade do you get for lab assignments missed their due dates? - correct answer 0 The purpose of a memory address is: - correct answer to identify the location of a byte in memory Three primary activities of a program are: - correct answer Input, Processing, and Output The ________ decodes an instruction and generates electrical signals. - correct answer control unit 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 A set of well-defined steps for performing a task or solving a problem is known as a(n): - correct answer Algorithm In a broad sense, the two primary categories of programming languages are: - correct answer low-level and high-level This step will uncover any syntax errors in your program. - correct answer Compiling 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 According to orientation clip what happens if you missed an EXAM due to conditions that you could not control? - correct answer The final exam can replace the zero This is a set of rules that must be followed when constructing a program. - correct answer Syntax _______________ are used to translate each source code instruction into the appropriate machine language instruction. - correct answer Compilers True/False: Escape sequences are always stored internally as a single character. - correct answer True Every complete C++ program must have a ________. - correct answer function named main Which of the following defines a double-precision floating point variable named payCheck? - correct answer double payCheck Character constants in C++ are always enclosed in ________. - correct answer single quotation marks In programming terms, a group of characters inside a set of quotation marks is called a(n): - correct answer string literal True/False: The C++ language requires that you give variables names that indicate what the variables are used for. - correct answer false Besides decimal, two other number systems you might encounter in C++ programs are: - correct answer hexadecimal and octal True/False: A variable called "average" should be declared as an integer data type because it will probably hold data that contains decimal places. - correct answer False True/False: When writing long integer literals or long long integer literals in C++ 11, you can use either an uppercase or lowercase L. - correct answer True Which one of the following would be an illegal variable name? - correct answer 3dGraph In a C++ program, two slash marks ( // ) indicate: - correct answer A comment In C++ 11, the ________ tells the compiler to determine the variable's data type from the initialization value. - correct answer auto keyword Which character signifies the beginning of an escape sequence? - correct answer A variable's ________ is the part of the program that has access to the variable. - correct answer scope True/False: Floating point constants are normally stored in memory as doubles. - correct answer True In memory, C++ automatically places a ________ at the end of string literals. - correct answer Null terminator Of the following, which is a valid C++ identifier? a. Junē997 b. _employee_number c. ___department d. myExtraLongVariableName e. All of the above are valid identifiers. - correct answer all Which escape sequence causes the cursor to move to the beginning of the current line? - correct answer r A statement that starts with a # symbol is called a: - correct answer . Preprocessor directive The ________ causes the contents of another file to be inserted into a program. - correct answer #include directive A variable whose value can be either true or false is of this data type. - correct answer bool Assuming you are using a system with 1-byte characters, how many bytes of memory will the following string literal occupy? "William" - correct answer 8 These are used to declare variables that can hold real numbers. - correct answer - Floating point data types

Show more Read less
Institution
Intro To Programming Fundamentals
Module
Intro to Programming Fundamentals









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

Written for

Institution
Intro to Programming Fundamentals
Module
Intro to Programming Fundamentals

Document information

Uploaded on
September 2, 2023
Number of pages
9
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

£10.39
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
STARLETSCORE

Get to know the seller

Seller avatar
STARLETSCORE The University of Manchester
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
127
Last sold
-
STARLETSCORES

Ultimate Guide for Making Top Grades in College: The Most Concise Guide For Your College Success

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions