100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSCI 1301 Midterm Exam Questions And 100% Correct Answers $9.99   Add to cart

Exam (elaborations)

CSCI 1301 Midterm Exam Questions And 100% Correct Answers

 2 views  0 purchase
  • Course
  • CSCI 1301
  • Institution
  • CSCI 1301

CSCI 1301 Midterm Exam Questions And 100% Correct Answers...

Preview 3 out of 27  pages

  • October 11, 2024
  • 27
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSCI 1301
  • CSCI 1301
avatar-seller
Easton
CSCI 1301 Midterm Exam Questions And
100% Correct Answers

Program - ANSWER statements executing on at a time



input - ANSWER A program gets data, possibly from a file, keyboard, touchscreen,
network, etc.



Process - ANSWER A program does computations on that data, for example, adding two
values such as x + y.



output - ANSWER A program puts that data somewhere, such as to a file, screen,
network, etc.



Variables - ANSWER are names for data, such as x, y, and z



computational thinking - ANSWER the process of writing down a series of steps to solve
a problem



Algorithm - ANSWER an ordered series of steps that solves a problem



Python interpreter - ANSWER a computer program that understands and executes
instructions written in the Python programming language



interactive interpreter - ANSWER a program that is designed to execute one line of code
at a time

,code - ANSWER a common term for the textual form of a program



line a row of text



prompt >>> the interpreter is ready to accept code



statement a program instruction



expressions code that returns a value when evaluated



variables named references to values stored by the interpreter



assignment =



print() displays variables or expression values



comments optional but may be used to explain portions of code to a human reader



string - ANSWER text enclosed in quotes



newline character - ANSWER Output can be moved onto the next line by printing "

", called a newline character.



escape sequence - ANSWER a string that has a special meaning, such as the newline
character that always starts with a backslash



whitespace - ANSWER any space, tab or newline

, input() - ANSWER used to read input from a user



type - ANSWER indicates how a value might behave



int() - ANSWER might be used to convert that string into the integer 123



syntax error - ANSWER An error in a program where it violates the rules of a
programming language regarding how symbols can be combined to form that program.



runtime error - ANSWER Even though a program syntax is correct, the program tries to
do an operation it can't do.



crash - ANSWER A runtime error halts the program from continuing to execute.



logic error - ANSWER the program is logically flawed



bug - ANSWER a logic error is often referred to as



Integrated Development Environment (IDE) - ANSWER what code development is usually
done with



bits - ANSWER binary digits



processors - ANSWER designed to process a list of desired calculations



instruction - ANSWER each calculation is referred to as an

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 Easton. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80630 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart