stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Flashcards | StudBud
Explore
/
Python
Python
29 terms
·
StudBud Administration
Imported from external platform
Flashcards
29 cards
F
Practice quiz
P
Host live
L
Questions
29
Answers
1
Whole numbers in programming languages is which data type?
Integer
Float
String
Boolean
2
Text in programming languages is which data type?
Float
String
Integer
Boolean
3
Define run-time error
An error caused by exceeding memory limits`
An error in the logic of the program
An error that occurs during compilation
An error that occurs while the program is running
4
What kind of programming language Python?
compiled
interpreted
interpolated
manufactured
5
A numeric data type in programming is:
A number to represent currency
Any number value that we want stored
A sequence of characters that make up text
Only negative numbers
6
What is the
Data Type
of
Pi
where, Pi = 3.141
Boolean
Integer
Float
String
7
Which company developed the programming language Python?
Google
Dropbox
Microsoft
Apple
8
In python != is the correct sytax for not equals
False
True
9
Run Time Error
Violates rules of programming language
Happens only when program runs
Behaves unexpectedly
Not enough storage
10
Which of the following is NOT a basic data type in most programming languages?
Boolean
Integer
Structure
Float
11
What is a data type in programming?
A classification of data
A memory location
A set of instructions
A computer component
12
What error is given when the sytax of a program is wrong?
Logic Error
Runtime Error
Semantic Error
Syntax error
13
In data types, what is "Boolean"?
Yes or No/True or False
Phone numbers
Fractions
Information
14
In which programming language, Python was written?
C++
C
JavaScript
Java
15
run-time error
A data abstraction provides a general way to access a collection of data
A mistake in a program that happens only when the program is actually run
16
Who created the programming language python?
Guido van Rossum
Steve Jobs
Bill Gates
Pascal
17
C/C++ is a _____ programming language. Python is a _____ programming language.
Interpreted, compiled
Interpreted, interpreted
Compiled, interpreted
Compiled, compiled
18
Run Time Error...
Computer can't carry out the instruction
Output is different than expected
Grammar mistake in the language
sausages
19
Run Time Error
only appears when you run the program
stops the program from running
the program still runs but not as expected
20
Which of the following is
NOT
a data type in programming language ?
Function (fn)
Boolean (bool)
Float (float)
String (string)
21
What data type would this question be?
Date/Time
Numbers
Text
Boolean
22
Which of these describes a sytax error?
Mispelling a reserved word
Dividing by 0
put length + breadth + height into volume
23
Run-time error
a severe error message from the JVM
the program output is wrong
violation of the programming language rules
24
Run-Time errors . . .
Run but produce the wrong output
Happen during a programs execution (or run-time)
Cause a program not to run
25
Run Time Error
Software
Hardware
26
A run-time error
does not require debugging
won't allow the program to run
runs the program, but gives an incorrect answer or value
could happen when the program compiles or runs
27
Which is a data type in programming?
Floating Point
Text
Formula
Paragraph
28
The program will run if there was a sytax error
False
True
29
Run time error
logic error
process of eliminating bugs
punctuation error
causes the program to freeze