Package deal
COSC 1436 Bundled Exam Questions and CORRECT Answers
COSC 1436 Bundled Exam Questions and CORRECT Answers
[Show more]COSC 1436 Bundled Exam Questions and CORRECT Answers
[Show more]COSC 1436 Test 1 Review UPDATED 
ACTUAL Questions and CORRECT 
Answers 
The set of rules for forming sentences in a language is called the language ___________ . - 
CORRECT ANSWER- syntax 
A Python script is __________ . - CORRECT ANSWER- a program file that can be run 
or distributed to other peo...
Preview 2 out of 7 pages
Add to cartCOSC 1436 Test 1 Review UPDATED 
ACTUAL Questions and CORRECT 
Answers 
The set of rules for forming sentences in a language is called the language ___________ . - 
CORRECT ANSWER- syntax 
A Python script is __________ . - CORRECT ANSWER- a program file that can be run 
or distributed to other peo...
COSC 1436 Test 2 Review UPDATED 
ACTUAL Questions and CORRECT 
Answers 
If you need to know all of the names of the files in a specific directory for which you know 
the path you could use the function? - CORRECT ANSWER- listdir(path) 
The variable data refers to the string "". Which express...
Preview 2 out of 9 pages
Add to cartCOSC 1436 Test 2 Review UPDATED 
ACTUAL Questions and CORRECT 
Answers 
If you need to know all of the names of the files in a specific directory for which you know 
the path you could use the function? - CORRECT ANSWER- listdir(path) 
The variable data refers to the string "". Which express...
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 ...
Preview 2 out of 11 pages
Add to cartCOSC 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 REVIEW UPDATED ACTUAL 
Questions and CORRECT Answers 
Address Operator - CORRECT ANSWER- (&), returns the memory of a variable 
Algorithm - CORRECT ANSWER- a set of well defined steps to solve a problem 
argument - CORRECT ANSWER- data being sent to a function
Preview 2 out of 6 pages
Add to cartCOSC 1436 REVIEW UPDATED ACTUAL 
Questions and CORRECT Answers 
Address Operator - CORRECT ANSWER- (&), returns the memory of a variable 
Algorithm - CORRECT ANSWER- a set of well defined steps to solve a problem 
argument - CORRECT ANSWER- data being sent to a function
COSC 1436 EXAM 3 UPDATED ACTUAL 
Questions and CORRECT Answers 
Here is the header for a function named computeValue: 
Which of the following is a valid call to the function? - CORRECT ANSWER- 
computeValue(10); 
This function causes a program to terminate, regardless of which function or control ...
Preview 2 out of 12 pages
Add to cartCOSC 1436 EXAM 3 UPDATED ACTUAL 
Questions and CORRECT Answers 
Here is the header for a function named computeValue: 
Which of the following is a valid call to the function? - CORRECT ANSWER- 
computeValue(10); 
This function causes a program to terminate, regardless of which function or control ...
COSC 1436 EXAM 3 UPDATED Questions 
and CORRECT Answers 
True/False: A local variable and a global variable may not have the same name within the 
same program. - CORRECT ANSWER- false 
This statement causes a function to end. - CORRECT ANSWER- to return 
These types of arguments are passed to par...
Preview 2 out of 6 pages
Add to cartCOSC 1436 EXAM 3 UPDATED Questions 
and CORRECT Answers 
True/False: A local variable and a global variable may not have the same name within the 
same program. - CORRECT ANSWER- false 
This statement causes a function to end. - CORRECT ANSWER- to return 
These types of arguments are passed to par...
COSC 1436 Exam 1 UPDATED Questions 
and CORRECT Answers 
Main memory is directly connected to the CPU - CORRECT ANSWER- True 
When the computer is turned off, everything in secondary memory is lost. - CORRECT 
ANSWER- False 
Information stored in main memory must be transferred to some other devic...
Preview 2 out of 11 pages
Add to cartCOSC 1436 Exam 1 UPDATED Questions 
and CORRECT Answers 
Main memory is directly connected to the CPU - CORRECT ANSWER- True 
When the computer is turned off, everything in secondary memory is lost. - CORRECT 
ANSWER- False 
Information stored in main memory must be transferred to some other devic...
COSC 1436 Final UPDATED Questions 
and CORRECT Answers 
source code (.cpp file for C++) - CORRECT ANSWER- the actual code that the 
programmer writes 
object code - CORRECT ANSWER- the code created by the compiler 
secondary storage (disk drive) - CORRECT ANSWER- when a program is not running, 
t...
Preview 2 out of 14 pages
Add to cartCOSC 1436 Final UPDATED Questions 
and CORRECT Answers 
source code (.cpp file for C++) - CORRECT ANSWER- the actual code that the 
programmer writes 
object code - CORRECT ANSWER- the code created by the compiler 
secondary storage (disk drive) - CORRECT ANSWER- when a program is not running, 
t...
COSC 1436 Final UPDATED ACTUAL 
Questions and CORRECT Answers 
The CPU has 2 main parts: - CORRECT ANSWER- The control unit and the arithmetic 
unit 
A byte has how many bits? - CORRECT ANSWER- 8 bits 
Programming Syntax - CORRECT ANSWER- The rules of grammar used by a language 
Algorithm - CORREC...
Preview 3 out of 28 pages
Add to cartCOSC 1436 Final UPDATED ACTUAL 
Questions and CORRECT Answers 
The CPU has 2 main parts: - CORRECT ANSWER- The control unit and the arithmetic 
unit 
A byte has how many bits? - CORRECT ANSWER- 8 bits 
Programming Syntax - CORRECT ANSWER- The rules of grammar used by a language 
Algorithm - CORREC...
COSC 1436 - Ch 6 UPDATED ACTUAL 
Questions and CORRECT Answers 
1) A file that data is written to is known as a(n) 
a. input file. 
b. output file. 
c. sequential access file. 
d. binary file. - CORRECT ANSWER- output file 
2) The term __ is used to describe a file that data is read from is known as...
Preview 2 out of 6 pages
Add to cartCOSC 1436 - Ch 6 UPDATED ACTUAL 
Questions and CORRECT Answers 
1) A file that data is written to is known as a(n) 
a. input file. 
b. output file. 
c. sequential access file. 
d. binary file. - CORRECT ANSWER- output file 
2) The term __ is used to describe a file that data is read from is known as...
FINAL- COSC 1436 UPDATED ACTUAL 
Questions and CORRECT Answers 
The term GB refers to a gigabyte which is approximately a _____ bytes. - CORRECT 
ANSWER- billion 
An undeclared identifier is an example of a: - CORRECT ANSWER- syntax error 
An instruction to the computer to subtract two numbers whe...
Preview 2 out of 8 pages
Add to cartFINAL- COSC 1436 UPDATED ACTUAL 
Questions and CORRECT Answers 
The term GB refers to a gigabyte which is approximately a _____ bytes. - CORRECT 
ANSWER- billion 
An undeclared identifier is an example of a: - CORRECT ANSWER- syntax error 
An instruction to the computer to subtract two numbers whe...
COSC 1436 Midterm UPDATED Questions 
and CORRECT Answers 
Every complete statement ends with a - CORRECT ANSWER- ; 
Which of the following statements is correct? 
A) #include (iostream) 
B) #include <iostream> 
C) #include {iostream} 
D) #include [iostream] 
E) All of the above - CORRECT ANSW...
Preview 2 out of 5 pages
Add to cartCOSC 1436 Midterm UPDATED Questions 
and CORRECT Answers 
Every complete statement ends with a - CORRECT ANSWER- ; 
Which of the following statements is correct? 
A) #include (iostream) 
B) #include <iostream> 
C) #include {iostream} 
D) #include [iostream] 
E) All of the above - CORRECT ANSW...
COSC 1436 Midterm UPDATED ACTUAL 
Questions and CORRECT Answers 
algorithm - CORRECT ANSWER- a process or set of rules to be followed in calculations 
or other problem-solving operations 
argument - CORRECT ANSWER- a value that you pass to a routine. For example, if 
SQRT is a routine that return...
Preview 2 out of 6 pages
Add to cartCOSC 1436 Midterm UPDATED ACTUAL 
Questions and CORRECT Answers 
algorithm - CORRECT ANSWER- a process or set of rules to be followed in calculations 
or other problem-solving operations 
argument - CORRECT ANSWER- a value that you pass to a routine. For example, if 
SQRT is a routine that return...
COSC 1436 Exam 1 UPDATED Questions 
and CORRECT Answers 
False - CORRECT ANSWER- (T/F) In C++, reserved words are the same as predefined 
identifiers. 
True - CORRECT ANSWER- (T/F) The maximum number of significant digits in values 
of the double type is 15. 
False - CORRECT ANSWER- (T/F) A mixed...
Preview 2 out of 9 pages
Add to cartCOSC 1436 Exam 1 UPDATED Questions 
and CORRECT Answers 
False - CORRECT ANSWER- (T/F) In C++, reserved words are the same as predefined 
identifiers. 
True - CORRECT ANSWER- (T/F) The maximum number of significant digits in values 
of the double type is 15. 
False - CORRECT ANSWER- (T/F) A mixed...
COSC 1436 Exam 1 UPDATED ACTUAL 
Questions and CORRECT Answers 
Main memory is directly connected to the CPU - CORRECT ANSWER- True 
When the computer is turned off, everything in secondary memory is lost. - CORRECT 
ANSWER- False 
Information stored in main memory must be transferred to some other...
Preview 2 out of 11 pages
Add to cartCOSC 1436 Exam 1 UPDATED ACTUAL 
Questions and CORRECT Answers 
Main memory is directly connected to the CPU - CORRECT ANSWER- True 
When the computer is turned off, everything in secondary memory is lost. - CORRECT 
ANSWER- False 
Information stored in main memory must be transferred to some other...
COSC 1436 C++ Chapter 6 UPDATED 
ACTUAL Questions and CORRECT 
Answers 
A function ________ eliminates the need to place a function definition before all calls to the 
function. - CORRECT ANSWER- prototype 
Look at the following function prototype. 
int myFunction(double);int myFunction(double); 
...
Preview 1 out of 4 pages
Add to cartCOSC 1436 C++ Chapter 6 UPDATED 
ACTUAL Questions and CORRECT 
Answers 
A function ________ eliminates the need to place a function definition before all calls to the 
function. - CORRECT ANSWER- prototype 
Look at the following function prototype. 
int myFunction(double);int myFunction(double); 
...
COSC 1436 C++ UPDATED ACTUAL 
Questions and CORRECT Answers 
Given an integer variable strawsOnCamel, write a statement that uses the auto-increment 
operator to increase the value of that variable by 1. - CORRECT ANSWER- 
strawsOnCamel++; 
Given an integer variable timer, write a statement that us...
Preview 2 out of 12 pages
Add to cartCOSC 1436 C++ UPDATED ACTUAL 
Questions and CORRECT Answers 
Given an integer variable strawsOnCamel, write a statement that uses the auto-increment 
operator to increase the value of that variable by 1. - CORRECT ANSWER- 
strawsOnCamel++; 
Given an integer variable timer, write a statement that us...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
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.
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
No, you only buy these notes for $75.32. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
77254 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now