CSCI 1301 Midterm Exam questions and answers 2024/2025
7 views 0 purchase
Course
CSCI 1301
Institution
CSCI 1301
CSCI 1301 Midterm Exam questions and answers 2024/2025
Program - ANSWERSinstructions executing on at a time
input - ANSWERSA program gets data, perhaps from a file, keyboard, touchscreen, network, etc.
Process - ANSWERSA program performs computations on that data, such as adding two value...
CSCI 1301 Midterm Exam questions and
answers 2024/2025
Program - ANSWERSinstructions executing on at a time
input - ANSWERSA program gets data, perhaps from a file, keyboard, touchscreen,
network, etc.
Process - ANSWERSA program performs computations on that data, such as adding
two values like x + y.
output - ANSWERSA program puts that data somewhere, such as to a file, screen,
network, etc.
Variables - ANSWERSrefer to data, like x, y, and z
computational thinking - ANSWERScreating a sequence of instructions to solve a
problem
Algorithm - ANSWERSa sequence of instructions that solve a problem
Python interpreter - ANSWERSa computer program that executes code written in the
Python programming language
interactive interpreter - ANSWERSa program that allows the user to execute one line of
code at a time
code - ANSWERSa common word for the textual representation of a program
line - ANSWERSa row of text
prompt >>> - ANSWERSindicates the interpreter is ready to accept code
statement - ANSWERSa program instruction
expressions - ANSWERScode that return a value when evaluated
variables - ANSWERSnamed references to values stored by the interpreter
assignment - ANSWERS=
print() - ANSWERSdisplays variables or expression values
, comments - ANSWERSoptional but can be used to explain portions of code to a human
reader
string - ANSWERStext enclosed in quotes
newline character - ANSWERSOutput can be moved to the next line by printing "\n",
known as a newline character.
escape sequence - ANSWERSa string that has a special meaning, like the newline
character that always starts with a backslash
whitespace - ANSWERSany space, tab, or newline
input() - ANSWERSused to read input from a user
type - ANSWERSdetermines how a value can behave
int() - ANSWERScan be used to convert that string to the integer 123
syntax error - ANSWERSviolates a programming language's rules on how symbols can
be combined to create a program
runtime error - ANSWERSa program's syntax is correct, but the program attempts an
impossible operation
crash - ANSWERSruntime error halts the execution of the program
logic error - ANSWERSthe program is logically flawed
bug - ANSWERSa logic error is often called
Integrated Development Environment (IDE) - ANSWERSwhat code development is
usually done with
bits - ANSWERSbinary digits
processors - ANSWERScreated to process a list of desired calculations
instruction - ANSWERSeach calculation is called an
memory - ANSWERSa circuit that can store 0s and 1s in each of a series of thousands
of addressed locations
program, application, or just app - ANSWERSprogrammer created sequence of
instructions
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 or Stuvia-credit 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 muchiracalorine. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.79. You're not tied to anything after your purchase.