CSE 1321 Lecture Final Exam
Programming starts with
A) writing code until it works.
B) looking online for the answers.
C) developing an algorithm. - ANS-C
Pseudocode is
A)
an informal high-level description of the operating principle of a computer program or algorithm.
B)
a formal programming language.
C)
a machine. - ANS-A
IDE stands for
A) Intramural Department Executive
B) Integrated Development Environment
C) Initial Degree Expectations - ANS-B
Software testing involves the execution of a software component or system component to
evaluate one or more properties of interest.
True
False - ANS-true
Input is sending messages to the console/user.
True
False - ANS-false
Output is process of reading information from user, usually via keyboard or mouse.
True
False - ANS-false
Program design consists of
A)
writing the documentation for a program.
B)
the ability to solve problems.
C)
writing the code for a program.
D)
, steps a programmer should do before they start coding a program in a specific language. -
ANS-D
The MAIN method tells the program where to begin running code as it is the entry or starting
point for the program.
True
False - ANS-true
A flowchart is a type of diagram that represents an algorithm, workflow or process.
True
False - ANS-true
Debugging is the process of
A) writing source code.
B) compiling the source code.
C) solving errors in the source code.
D) publishing the source code to the client. - ANS-C
If the expression xyz % 3 == 0 is true and xyz is a positive integer, then the value stored in the
variable xyz is evenly divisible by 3.
True
False - ANS-true
What is the output of the following code?
int u = 3;
int v = 5;
u += v;
v += u;
u -= v;
v -= u;
PRINT (u + ", " + v);
A) 5, 3
B) -5,-3
C) -5, 18
D) 3, 5 - ANS-C
A String (or string) object is a primitive data type.
True
False - ANS-false
What would be the best datatype to represent product? A variable that stores information about
the number of items currently in stock in a grocery store.
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 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 Hkane. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £6.57. You're not tied to anything after your purchase.