Python Programming - Test 1

Quiz
•
Computers
•
University - Professional Development
•
Medium
Prashant Dhope
Used 52+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following character is used to give comments in Python?
//
#
!
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
name = 'Python'
print (type(name))
char
'Python'
str
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
str1 = "SGBIT"
print (str1 [2])
S
G
B
I
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
d = 10 < 11
print (d)
10
11
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Identify the arithmetic operator which is used to calculate exponential.
*
%
!
**
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
List is declared using _______.
{ }
[ ]
( )
< >
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output?
print (13/6)?
2
2.1666
2.5
Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Lists

Quiz
•
University
20 questions
quiz dasar python

Quiz
•
1st Grade - University
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
15 questions
Python

Quiz
•
University
20 questions
Introduction to Python

Quiz
•
University
20 questions
Basic Python

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University