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 102 MSU exam 1 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
13-06-2026
Written in
2025/2026

CSE 102 MSU exam 1 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Institution
CSE
Course
CSE

Content preview

CSE 102 MSU exam 1 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

program consists of instructions executing one at a time


input a program gets data, perhaps from a file, keyboard, touchscreen, network, etc


process a program performs computations on that data, such as adding two values like x +
y




output a program puts that data somewhere, such as to a file, screen, network, etc


computational thinking creating a sequence of instructions to solve a problem, will become increasingly
important for work and everyday life


algorithm a sequence of instructions that solves a problem, generating correct output for
any valid input values


problem solving creating a methodical solution to a given task


Algorithm time efficiency the number of calculations required to solve a problem


Decomposition the breaking down of a complex problem into a series of smaller or simpler
problems


pattern recognition the identification of common characteristics among different problems and within
the same problem. Recognizing these patterns can further simplify the problem


abstraction the generalization of a problem so that a solution can be applied to different
specific problems


python interpreter a computer program that executes code written in Python programming
language




interactive interpreter a program that allows the user to execute one line of code at a time


code a common word for the textual representation of a program


line a row of text in coding


prompt the interactive interpreter displays a prompt that indicates the interpreter is ready
to accept code

, statement a program instruction; mostly consists of a series of statements, and each
statement usually appears on its own line


expressions code that return a value when evaluated; for example, the code wagehouseweeks
is an expression that computes a number


print() this function displays variables or expression values


string literal text enclosed in quotes ^^
Note: whitespace (blank spaces/blank lines) matter; make sure your whitespace
exactly matches the expected output


newline character (\n) Output can be moved to the next line by printing \n




whitespace Any space, tab, or newline is called whitespace.


string The input obtained by input() is any text that a user typed, including numbers,
letters, or special characters such as # or @. Such text in a computer program is
called a string.


syntax error violates a programming language's rules on how symbols can be combined to
create a program


crash a runtime error halts the execution of a program, abrupt and unintended
terminations of programs are called crashes


logic error the program is logically flawed, often called a bug


expression is a combination of items, like variables, literals, operators, and parentheses, that
evaluates to a value, like 2 * (x + 1).


literal is a specific value in code like 2.


operator is a symbol that performs a built-in calculation, like +, which performs addition.


identifier also called a name, is a sequence of letters (a-z, A-Z), underscores (_), and digits
(0-9), and must start with a letter or an underscore.




bit A single 0 or 1 is called a


byte Eight bits, like 11000101

Written for

Institution
CSE
Course
CSE

Document information

Uploaded on
June 13, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.49
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.
Briwisescore Stanford University
Follow You need to be logged in order to follow users or courses
Sold
20
Member since
2 year
Number of followers
5
Documents
9901
Last sold
3 weeks ago

1.7

3 reviews

5
0
4
0
3
1
2
0
1
2

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 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