stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Fundamentals of coding Flashcards | StudBud
Explore
/
Fundamentals of coding
Fundamentals of coding
12 terms
·
StudBud Administration
·
32 plays
Imported from external platform
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
Syntax are rules that define the structure of s
ymbols, punctuation, and words
of a programming language.
True
False
2
Reserved keywords can be used in variables, class or any identifier
False
True
3
Boolean datatype has only two values
True
False
4
What datatype is this? x = 90.0 print(x)
String
Float
List
Integer
5
What language did we do today?
Python
Perl
Linux
Java
6
Which of the following is not a Python data type?
Integer
String
Text
List
7
What datatype is
cars
? cars = ['ford', 'volvo', 'GMC', 'Toyota']
Dictionary
List
String
Integer
8
What would be the output of this code: food = "Strawberry" print("food")
FoodStrawberry
food
Nil
Strawberry
9
What datatype is this? x = "90.0" print(x)
List
String
Integer
Float
10
Example of a comment in Python
&# This is a comment
# This is a comment
* This is a comment
This is a comment
11
What is an example of a logical operator
=
!=
and
>
12
Relational operator is used for comparison
False
True