Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Online Test on -Getting start with python

Description

Quiz on Online Test on -Getting start with python, created by Aparna Dhirde on 13/03/2020.
Aparna Dhirde
Quiz by Aparna Dhirde, updated more than 1 year ago
Aparna Dhirde
Created by Aparna Dhirde over 5 years ago
302
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

AQA GCSE Biology B1 unit 1
Olivia Phillips
Themes of Jane Eyre
blackfeather1128
Biological molecules
sadiaali363
The Many Conjugations of Spanish! Wow!
hannahkathryn5
An Inspector Calls
Georgia 27
CONCEPTUAL MAP
Andres Sanchez
Why did the Cold War begin?
n.mcdonald
CSA IITU Part 1 (235)
Hello World
A child with a stiff neck
fatima alkhateeb
AAHI_Card set 7 (Directional terms)
Tafe Teachers SB