stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
python basics Flashcards | StudBud
Explore
/
python basics
python basics
10 terms
·
StudBud Administration
·
26 plays
grade 11 students
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
Operators with the same precedence are evaluated in which manner?
left to right
Right to left
can't predict
None of these
2
Which is the correct operator for power(x
y
)? b) c)
X^^y
X**y
X*Y
X^Y
3
Which one of these is floor division?
&
//
/
%
4
What is the output of this expression, 3*1**3?
3
1
5
What is the order of precedence in python? i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addit
ii,iii,vi,i,iv,v
i,v,iv,iii,ii,vi
ii,i,iii,iv,v,vi
i,ii,iii,iv,v,vi
6
What is the answer to this expression, 22 % 3 is?
5
4
3
1
7
Which one of the following has the highest precedence in the expression?
Exponential b)
Parentheses
Addition
Multiplication
8
Mathematical operations can be performed on a string.
True
False
9
Which one of the following has the same precedence level?
Addition and Multiplication
Addition and Subtraction
Multiplication, Division and Addition
Multiplication, Division, Addition and Subtraction
10
The expression Int(x) implies that the variable x is converted to integer.
True
False