
PETE 2061
Authored by Norm Brown
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following statements is true?
The goal in approximation is to obtain a value that is exactly equal to a true value
Fitting a decline curve model to the observed production rate in the field is an example of approximation
A plot of observed (or historical) production rates versus time is an example of an approximation
All of the above
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following statements is true?
Accuracy is the measure of how closely a value agrees with a true value, while precision refers to how any two values or approximations agree with each other.
Precision refers to how closely a value agrees with a true value.
Accuracy refers to how any two values or approximations agree with each other.
All of the above
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following Python codes DOES NOT convert from a Python data type to an integer?
y = int(100.0)
b = 3.3
b = int(b)
z = float(10)
x = int(10.3)
a = int("1.3")
4.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following will read in an input as a string and convert the string into a real number?
myInputNumber = input("Enter a number")
myInputNumber = int(myInputNumber)
myInputNumber = input("Enter a number")
myInputNumber = float(myInputNumber)
myInputStr = input("Enter a number")
myInputNumber = int(myInputStr)
myInputStr = input()
myInputNumber = int(myInputNumber)
myInputStr = input()
myInputNumber = str(myInputStr)
5.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
Which of the following Python codes will fail with a syntax error?
import math
x = 2.0
y = math.exp(x)
import math as mt
x = 2.0
y = mt.exp(x)
import numpy as np
x = 2.0
y = np.exp(x)
import math as mat
x = 2.0
y = mat.exp(x)
import math
x = 2.0
y = mt.exp(x)
6.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
myStr = "123456789"
Given the Python code above, which of the following codes will display "34"?
print(myStr[3:4])
print(myStr[1:3])
print(myStr[2:4])
print(myStr[2:3])
print(myStr[3:5])
7.
MULTIPLE CHOICE QUESTION
30 sec β’ 1 pt
legends = ["Kareem", "MJ", "LeBron", "Kobe", "Shaq"]
Given the Python code above, which of the following codes will display ["MJ", "LeBron", "Kobe"]?
print(legends[2:])
print(legends[2:5])
print(legends[:])
print(legends[1:-1])
print(legends)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
tomorrow by together quiz!
Quiz
β’
1st Grade - University
20 questions
Expected Vs. Unexpected Behaviors
Quiz
β’
5th Grade - University
20 questions
Spirit: Stallion of the Cimarron
Quiz
β’
KG - Professional Dev...
20 questions
Financial Management
Quiz
β’
University
18 questions
Canva Basic
Quiz
β’
KG - University
20 questions
Movies & Anime
Quiz
β’
University
20 questions
BAHASA INGGRIS LINTAS MINAT
Quiz
β’
University
20 questions
Quiz No. 4 & 5 - One-Way ANOVA and Two-Way ANOVA
Quiz
β’
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
β’
3rd Grade
20 questions
Equivalent Fractions
Quiz
β’
3rd Grade
25 questions
Multiplication Facts
Quiz
β’
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
β’
9th Grade
22 questions
fractions
Quiz
β’
3rd Grade
11 questions
FOREST Effective communication
Lesson
β’
KG
20 questions
Main Idea and Details
Quiz
β’
5th Grade
20 questions
Context Clues
Quiz
β’
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
β’
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
β’
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
β’
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
β’
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
β’
4th Grade - University
5 questions
Examining Theme
Interactive video
β’
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
β’
6th Grade - University
7 questions
Comparing Fractions
Interactive video
β’
1st Grade - University