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 over 4 years ago
296
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

Similar

10 Mind Mapping Strategies for Teachers
Andrea Leyden
Periodicity
hanalou
Characters in Lord of the Flies
lowri_luxton
English Literature Key Terms
charlotteoom
GCSE Chemistry C1.1 - Fundamental Ideas in Chemistry
chancice.branscombe
Types and Components of Computer Systems
Jess Peason
GCSE AQA Biology 1 Cloning & Genetic Engineering
Lilac Potato
GCSE Maths: Geometry & Measures
Andrea Leyden
GCSE AQA Biology 1 Quiz
Lilac Potato
Power and Conflict Poetry
Charlotte Woodward
Which GoConqr Product is Right for Me?
Sarah Egan