100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

S364 Midterm ACTUAL UPDATED Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
12-05-2025
Written in
2024/2025

S364 Midterm ACTUAL UPDATED Exam Questions and CORRECT Answers What is the function of the secondary memory in a computer? - CORRECT ANSWER store information for the long term, even beyond a power cycle What are the advantages of using jupyter notebook? - CORRECT ANSWER communicate and share results - code development - documentation which of the following is correct about python? - it is a high-level language - it is a machine language - it is a low-level language - it is an assembly language - CORRECT ANSWER

Show more Read less
Institution
S364
Course
S364









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
S364
Course
S364

Document information

Uploaded on
May 12, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

S364 Midterm ACTUAL UPDATED Exam
Questions and CORRECT Answers
What is the function of the secondary memory in a computer? - CORRECT ANSWER -
store information for the long term, even beyond a power cycle


What are the advantages of using jupyter notebook? - CORRECT ANSWER --
communicate and share results
- code development
- documentation


which of the following is correct about python?


- it is a high-level language
- it is a machine language
- it is a low-level language

- it is an assembly language - CORRECT ANSWER - it is a high level language


Will the following code cause an error:

Print("Hello world!") - CORRECT ANSWER - True


Where in the computer is a variable such as "x" stored after the following Python line finishes?

X = 123 - CORRECT ANSWER - main memory


What will x be after the code is executed:
x = 43

x = 43 + 1 - CORRECT ANSWER - 44

, When would you use a markdown cell? - CORRECT ANSWER - - add a title to a Jupyter
notebook
- add headings to sections of a jupyter notebook


How can you execute code in Jupyter notebook? - CORRECT ANSWER - - Shift+Enter
- Ctrl+Enter
- From the menu Cell -> Run Cells


To be executed, what does Python programming language use? - CORRECT ANSWER -
Interpreter


If you accidentally deleted a cell and wanted to get it back, what can you do? - CORRECT
ANSWER - in the (command) mode, use the keyboard shortcut "z"



modulus operator - CORRECT ANSWER - an operator, denoted with a percent sign (%),
that works on integers and yields the remainder when one number is divided by another


statement - CORRECT ANSWER - a section of code that represents a command or action.
So far, the statements we have seen are assignments and print expression statements.


floating point - CORRECT ANSWER - a type that represents numbers with fractional
parts


assignment - CORRECT ANSWER - a statement that assigns a value to a variable


What operator in Python joins strings together? For example "Hello" (operator) "World" -
CORRECT ANSWER -+



What can variable names not include in python? - CORRECT ANSWER - -, numbers,
spaces

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1078
Member since
1 year
Number of followers
102
Documents
68972
Last sold
7 hours ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

171 reviews

5
73
4
30
3
46
2
8
1
14

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

Frequently asked questions