Online Test on -Getting start with python

Description

Quiz on Online Test on -Getting start with python, created by Aparna Dhirde on 03/13/2020.
Aparna Dhirde
Quiz by Aparna Dhirde, updated more than 1 year ago
Aparna Dhirde
Created by Aparna Dhirde about 5 years ago
301
0
1 2 3 4 5 (0)

Resource summary

Question 1

Question
What is answer of this expression, 22 % 3 is?
Answer
  • 7
  • 1
  • 0
  • 5

Question 2

Question
What is the output of this expression, 3*1**3?
Answer
  • 27
  • 9
  • 3
  • 1

Question 3

Question
What is the maximum possible length of an identifier?
Answer
  • 31 characters
  • 63 characters
  • 79 characters
  • none of the mentioned

Question 4

Question
What is the output of the code shown below? not(3>4) not(1&1)
Answer
  • TrueTrue
  • TrueFalse
  • FalseTrue
  • FalseFalse

Question 5

Question
Select the reserved keyword in python
Answer
  • else
  • import
  • raise
  • All of these

Question 6

Question
Which of the following symbols are used for comments in Python?
Answer
  • //
  • ''
  • /**/
  • #

Question 7

Question
Are nested if-else are allowed in Python?
Answer
  • True
  • False

Question 8

Question
a = 8.6 b = 2 print a//b
Answer
  • 4.3
  • 4.0
  • 4
  • compilation error

Question 9

Question
Which statement is correct....??
Answer
  • List is mutable && Tuple is immutable
  • List is immutable && Tuple is mutable
  • Both are Immutable
  • Both are Mutable.

Question 10

Question
Which of the following data type is used to store values in key and value format?
Answer
  • Class
  • List
  • Tuple
  • Dictionary

Question 11

Question
Which of the following operators is used to get accurate result (i.e fraction part also) in case of division ?
Answer
  • //
  • %
  • /
  • None of the above

Question 12

Question
19 % 2 in python
Answer
  • 17
  • 2
  • 0
  • None of these

Question 13

Question
What is the associativity of Operators with the same precedence?
Answer
  • Depends on operators
  • Left to Right
  • Right to Left
  • Depends on Python Compiler

Question 14

Question
Which of the following has more precedence?
Answer
  • +
  • /
  • -
  • ()

Question 15

Question
Tuple is mutable.
Answer
  • True
  • False
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

Women in Nazi Germany - Flashcards
Louisa Wania
9 History- The Treaty of Versailles
melgallagher
IB Economics SL: Microeconomics
Han Zhang
GCSE AQA Chemistry Atomic Structure and Bonding
mustafizk
Key word flashcards
I M Wilson
Physics P3 Fashcards
Holly Bamford
Edexcel Additional Science Chemistry Topics 1+2
hchen8nrd
1PR101 2.test - Část 5.
Nikola Truong
Making the Most of GoConqr Flashcards
Sarah Egan
SFDC App Builder 1 (26-50)
Connie Woolard