Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 1321 Midterm (Modules 1-4) questions with answers

Rating
-
Sold
-
Pages
46
Grade
A+
Uploaded on
12-02-2026
Written in
2025/2026

CSE 1321 Midterm (Modules 1-4) questions with answers

Content preview

CSE 1321 Midterm (Modules 1-4)
|\ |\ |\ |\ |\




questions with answers |\ |\




Program design consists of: |\ |\ |\




A) the ability to solve problems.
|\ |\ |\ |\ |\




B) steps a programmer should do before they start coding
|\ |\ |\ |\ |\ |\ |\ |\ |\



a program in a specific language.
|\ |\ |\ |\ |\ |\




C) writing the code for a program.
|\ |\ |\ |\ |\ |\




D) writing the documentation for a program. - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔B) steps a programmer should do before
|\ |\ |\ |\ |\ |\ |\ |\



they start coding a program in a specific language.
|\ |\ |\ |\ |\ |\ |\ |\




Software testing involves the execution of a software
|\ |\ |\ |\ |\ |\ |\ |\



component or system component to evaluate one or |\ |\ |\ |\ |\ |\ |\ |\



more properties of interest.
|\ |\ |\




True or False - CORRECT ANSWERS ✔✔true
|\ |\ |\ |\ |\ |\




Programming starts with: |\ |\




a) looking online for the answers.
|\ |\ |\ |\ |\

,b) writing code until it works.
|\ |\ |\ |\ |\




c) developing an algorithm. - CORRECT ANSWERS ✔✔c)
|\ |\ |\ |\ |\ |\ |\ |\



developing an algorithm. |\ |\




Input is sending messages to the console/user.
|\ |\ |\ |\ |\ |\




true or false - CORRECT ANSWERS ✔✔false
|\ |\ |\ |\ |\ |\




input is actually: - CORRECT ANSWERS ✔✔reading and
|\ |\ |\ |\ |\ |\ |\ |\



taking in information from the user
|\ |\ |\ |\ |\




Output is process of reading information from user,
|\ |\ |\ |\ |\ |\ |\ |\



usually via keyboard or mouse.
|\ |\ |\ |\




true or false - CORRECT ANSWERS ✔✔false
|\ |\ |\ |\ |\ |\




output is actually: - CORRECT ANSWERS ✔✔messages/
|\ |\ |\ |\ |\ |\ |\



what is being displayed to the user based off of the input
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



information


A flowchart is a type of diagram that represents an
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\



algorithm, workflow or process. |\ |\ |\




true or false - CORRECT ANSWERS ✔✔true
|\ |\ |\ |\ |\ |\

,Pseudocode is |\




A) a formal programming language.
|\ |\ |\ |\




B) a machine.
|\ |\




C) an informal high-level description of the operating
|\ |\ |\ |\ |\ |\ |\ |\



principle of a computer program or algorithm. - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔C) an informal high-level description of the
|\ |\ |\ |\ |\ |\ |\ |\



operating principle of a computer program or algorithm.
|\ |\ |\ |\ |\ |\ |\




Debugging is the process of |\ |\ |\ |\




a) compiling the source code.
|\ |\ |\ |\




b) publishing the source code to the client.
|\ |\ |\ |\ |\ |\ |\




c) writing source code.
|\ |\ |\




d) solving errors in the source code. - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\



✔✔d) solving errors in the source code.
|\ |\ |\ |\ |\ |\ |\




The MAIN method tells the program where to begin
|\ |\ |\ |\ |\ |\ |\ |\ |\



running code as it is the entry or starting point for the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



program.


true or false - CORRECT ANSWERS ✔✔true
|\ |\ |\ |\ |\ |\

, IDE stands for |\ |\




a) Initial Degree Expectations
|\ |\ |\




b) Integrated Development Environment
|\ |\ |\




c) Intramural Department Executive - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\



✔✔b) Integrated Development Environment
|\ |\ |\ |\




What is the output of the following code?
|\ |\ |\ |\ |\ |\ |\




BEGIN MAIN |\




int u = 3; |\ |\ |\




int v = 5; |\ |\ |\




u += v;
|\ |\




v += u;
|\ |\




u -= v;
|\ |\




v -= u;
|\ |\




PRINT (u + ", " + v); |\ |\ |\ |\ |\ |\




END MAIN |\




a) 5, 3 |\ |\




b) -5,-3 |\




c) 3, 5 |\ |\

Written for

Document information

Uploaded on
February 12, 2026
Number of pages
46
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$23.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMSTUDYPLUG Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
373
Member since
3 year
Number of followers
107
Documents
20705
Last sold
20 hours ago
GRADE BUDDY

Welcome to My Page! Are you looking for high-quality study resources to ace your exams or better understand your coursework? You've come to the right place! I'm passionate about sharing my knowledge and helping students succeed academically. Here, you'll find a wide range of well-organized notes, study guides, and helpful materials across various subjects, including Maths ,nursig, Biology, History, etc.. Each resource is carefully crafted with detailed explanations, clear examples, and relevant key points to help simplify complex concepts. Whether you're preparing for a test, reviewing lectures, or need extra support, my resources are designed to make your learning experience smoother and more effective. Let me be a part of your academic journey, and feel free to reach out if you have any questions or need personalized assistance!

Read more Read less
4.5

241 reviews

5
162
4
51
3
16
2
5
1
7

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions