Questions LLC
Login
or
Sign Up
Ask a New Question
Python
Page 3
Questions (402)
Which of the following is one of the tools used by a python IDE that helps prevent syntax errors?
3 answers
asked anonymously
109 views
Which of the following is a statement in Python that helps detect problems early on, acts as an internal self-check by declaring
1 answer
asked anonymously
46 views
Write a Python code to create a database file and a table named ‘Student_Details’
with three columns, ‘Roll_No’,
1 answer
asked anonymously
46 views
Compare mutable data types with immutable data types in Python ? List the
immutable and mutable data types, separately. Discuss
1 answer
asked anonymously
57 views
The complex function in Python is a built-in function that stores numbers as complex numbers. The syntax is complex ([real[,
1 answer
asked by
songoku
67 views
The range function in Python has the definitions range(stop) or range(start, stop[, step]). The following code snippet will
1 answer
asked by
songoku
51 views
Computer programs written in Python start as source files or source code. These files, normally ending with a ".py" extension,
1 answer
asked anonymously
64 views
Which of the following is a good reason to learn Python as an introductory programming language?
Select one: a. It is a
1 answer
asked anonymously
55 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 = Students
1 answer
asked by
Blue
209 views
Consider this program:
class Students: def _init_(self, name, grade): self.name = name self.grade = grade student34 = Students
1 answer
asked by
Blue
96 views
Consider this program
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers =
1 answer
asked by
Blue
41 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked by
Blue
27 views
What will this line of code do? numpy.sum(item_prices)
create a variable called item prices to hold the sum add together the
1 answer
asked by
Blue
44 views
If a programmer creates a Python module, how can it be used in another program?
It can't; it would result in an error message. It
1 answer
asked by
Blue
54 views
Git is a library for doing advanced math and graphics in Python.
True False
1 answer
asked by
Blue
37 views
Which statement is the best description of this structure?
[[0, 1, 2], [3, 4, 5], [6, 7, 8]] It is one array consisting of
1 answer
asked by
Blue
25 views
You are reviewing a Python program that includes this line of code import numpy. Which of the following is this program most
1 answer
asked by
Blue
107 views
Which line of code will correctly create an array? (Assume numpy has already been imported.)
myScores = numpy.array([98, 87, 89,
1 answer
asked by
Blue
48 views
What will this line of code do?
numpy.average(theAverage) find the average of all of the values in the array called average find
1 answer
asked by
Blue
51 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 =
1 answer
asked by
Blue
50 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 =
1 answer
asked by
Blue
48 views
What will this line of code do? numpy.average(quiz_scores)
create a variable called quiz_scores to hold the average average an
1 answer
asked by
Blue
40 views
What will this line of code do?
numpy.average(quiz_scores)
1 answer
asked by
Blue
125 views
What statement must occur before this line of code? numpy.average(scores)
import numpy import average numpy import average import
1 answer
asked by
Blue
36 views
What statement must occur before this line of code?
numpy.average (scores)
1 answer
asked by
Blue
33 views
What statement must occur before this line of code?
numpy.average (scores) import numpy import average numpy import average
1 answer
asked by
Blue
39 views
The line after and if statement should begin with what?
1 answer
asked anonymously
118 views
If you want to add a third option too if and else, you can use
1. Print 2. Input 3. Alter 4. Elif
1 answer
asked anonymously
14 views
For-profit company that sells Python to schools and businesses is called?
1 answer
asked anonymously
15 views
Which of the following is one of the tools used by a Python IDE that helps prevent syntax errors?
1 answer
asked anonymously
54 views
Jorge is using Python 3 as a calculator. Jorge wants to find the product of 321 and 408. What should Jorge type?
1 answer
asked anonymously
105 views
Which of the following is one of the tools used by a Python IDE that helps prevent syntax errors?
(1 point) Responses It adds
1 answer
asked by
erm
168 views
What kind of programming language is Python?
Select one: a. compiled b. interpreted c. imaginary d. binary
1 answer
asked anonymously
75 views
Python programs that you write start out in which form?
Select one: a. punch cards b. interpreted output c. source code d. binary
1 answer
asked anonymously
52 views
How much does Python cost to run on your computer?
Select one: a. $19.95 per month b. Nothing, Python is free! c. It depends on
1 answer
asked anonymously
123 views
Which of the following is a good reason to learn Python as an introductory programming language?
Select one: a. It is a
1 answer
asked anonymously
89 views
Git is a library for doing advanced math and graphics in Python.
(1 point) Responses True True False False
1 answer
asked anonymously
148 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 =
1 answer
asked anonymously
71 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
100 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
61 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
61 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
82 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
64 views
write a multiplication table in python from 1-10 using loops
example output: x 1 2 3 4 5 6 7 8 9 10 1 1 2 3 4 5 6 7 8 9 10 2 2 4
1 answer
asked anonymously
21 views
The built-in Python function slice allows the programmer to select portions of the input that they want to slice out. It has two
1 answer
asked by
songoku
65 views
What is the term for words having different meanings and outcomes based on their capitalization within the Python language?(1
1 answer
asked by
songoku
63 views
When are triple quotes likely to be used in a Python program?
(1 point) in object-oriented design when creating a class when
1 answer
asked by
Purple
42 views
A Python dictionary is:
(1 point) a collection of code imported into a program. O a way of getting one program to communicate
1 answer
asked by
Blue
54 views
A line of code such as_init_(self) is known as a(n):
(1 point) object class. constructor. dunder
1 answer
asked by
Blue
28 views
The first parameter in every class method is typically named:
(1 point) self __init__ class def
1 answer
asked by
Blue
30 views
Pages
1
2
3
4
5
6
7
8
9
Parent Categories (17)
Application Development
Coding
Coding/Programming
Computer Programming
Computer Science/Programming
Interpreted Languages
Invasive Species
Libraries
Programming
Programming Language
Programming Languages
Programming or Computer Science
Programming/Code
Random Number Generation
Reptiles
Software or Programming
Web Development