Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 92 study documents about .
Page 4 out of 92 results
Sort by
-
BUS 104 PYTHON EXAM REVIEW: Multiple Choice Questions and Answers
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $11.49
- + learn more
BUS 104 PYTHON EXAM REVIEW: Multiple Choice 
Questions and Answers 
If variable x has the value 3.99, which of the following will set variable y equal to 3? 
(Assume the math library has been imported.) - Correct Answer️️ -1) y = trunc(x) 
2) y = round(x - 1) 
3) y = floor(x) 
Which of the following can be used to assign 2 percent to variable discount? - Correct 
Answer️️ -None of these answers 
A computer program is always made up of: - Correct Answer️️ -code 
The following code rep...
-
Intro to Python Exam 2 Questions and Answers
- Exam (elaborations) • 3 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
-
Python Exam Questions and Answers
- Exam (elaborations) • 3 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
Python Exam Questions and Answers 
What type of variable is the 'x' in the following code? 
x='15' - Correct Answer️️ -String 
While performing the Echo Communication home project, the command t() 
crashed the script. 
What could be the problem? - Correct Answer️️ -The accept() command was not 
assigned with two variables. 
When accepting data in client-server communication, what is the meaning of 
recv(2048)? - Correct Answer️️ -The limit for the amount of bytes to accept. 
Whic...
-
Python Programming Final Exam Questions and Answers
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $11.49
- + learn more
Python Programming Final Exam 
Questions and Answers 
The primary difference between a tuple and a list is that - Correct Answer️️ -once a 
tuple is created, it cannot be changed 
What will be the value of the variable list2 after the following code executes? 
list1 = [1, 2, 3] 
list2 = [] 
for element in list1: 
d(element) 
list1 = [4, 5, 6] - Correct Answer️️ -[1, 2, 3] 
What will be the value of the variable list after the following code executes? 
list = [1, 2, 3, 4] 
list[3] = 10 - ...
-
Python Exam 1 Questions and Answers
- Exam (elaborations) • 23 pages • 2024
- Available in package deal
-
- $12.49
- + learn more
Python Exam 1 Questions and Answers 
What is the output of: 11.0//2 - Correct Answer️️ -5.0 
Floor division to the nearest whole number 
Returns a float 
What is the output of: 11//2 - Correct Answer️️ -5 
Return an int 
What is the output of: 11/2 - Correct Answer️️ -5.5 
Returns a float 
What is the output of: 11/2.0 - Correct Answer️️ -5.0 
What is the output of: 20%2 - Correct Answer️️ -0 
What is the output of: 21%2 - Correct Answer️️ -1 
What is the output of: 11%3 ...
Fear of missing out? Then don’t!
-
Python Examination Questions and Answers
- Exam (elaborations) • 4 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
Python Examination Questions and Answers 
The sys module is used to perform which function? - Correct Answer️️ -Gives the user 
access to display and process system information 
Which argument is used in an open command when one wants to open a file but not 
make changes to the file? - Correct Answer️️ -r (read) 
Select the correct code entry from the drop-down in the code sample that will complete 
the datetime function. - Correct Answer️️ -import datetime 
Which code entry, when us...
-
Python Exam Questions and Answers
- Exam (elaborations) • 8 pages • 2024
- Available in package deal
-
- $12.49
- + learn more
Python Exam Questions and Answers 
What is computational thinking? - Correct Answer️️ -1. Understand the problem 
2. Create a strategy for solving the problem 
3. Express the solution using code 
Algorithm - Correct Answer️️ -A sequence of well-defined instructions a computer can 
execute to perform calculations or solve problems. 
Code - Correct Answer️️ -A set of instruction to a computer to carry out a specific task 
Program - Correct Answer️️ -A complete piece of code that th...
-
Python - Test 1 100% Correct Solved
- Exam (elaborations) • 11 pages • 2024
- Available in package deal
-
- $12.49
- + learn more
Python - Test 1 100% Correct Solved 
What is a program? - Correct Answer️️ -A program is a set of instructions that a 
computer follows to perform a task. 
What is hardware? - Correct Answer️️ -Hardware is all the physical devices, or 
components, of which a computer is made. 
List the five major components of a computer system. - Correct Answer️️ -The CPU, 
main memory, secondary storage devices, input devices and output devices. 
What part of the computer actually runs programs? - ...
-
Python Exam UAH Questions and Answers 100% Pass
- Exam (elaborations) • 16 pages • 2024
- Available in package deal
-
- $12.49
- + learn more
Python Exam UAH Questions and 
Answers 100% Pass 
Which of the following data types are not supported in Python? - Correct Answer️️ - 
List, Set, Dict, Tuple 
Which of the following data types are not supported in Python? - Correct Answer️️ -int, 
string 
What is the output of print(str) if str = 'Hello World!'? - Correct Answer️️ -Hello World! 
What is the output of print(str[0]) if str = 'Hello World!'? - Correct Answer️️ -H 
What is the output of print(str[2:5]) if str = ...
-
Python Exam 3 Questions and Answers
- Exam (elaborations) • 3 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
Python Exam 3 Questions and Answers 
This term refers to an individual item in a list - Correct Answer️️ -Element 
This is a number that identifies an item in a list - Correct Answer️️ -index 
This is the first index in a list - Correct Answer️️ -0 
This is the last index in a list - Correct Answer️️ -The size of the list minus one 
This will happen if you try to use an index that is out of range for a list - Correct 
Answer️️ -an IndexError will occur 
This function returns ...
Do you wonder why so many students wear nice clothes, have money to spare and enjoy tons of free time? Well, they sell on Stuvia! Imagine your study notes being downloaded a dozen times for $15 each. Every. Single. Day. Discover all about earning on Stuvia