
Python Assignment 1
Authored by Munnangi Vinay
Education
University
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Who discovered python?
Wick ran Rossum
Guido Van Rossum
Rasmus Lerdrom
Niene stom
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct extension of the Python file?
.python
.py
.pl
.p
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following character is used to give single-line comments in Python?
//
#
/*
!
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you declare a variable in Python?
var name = "value"
define name = value
name = "value"
You don't need to declare variables in Python
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code: x = 1 + 2 * 3
9
6
Error
7
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?
[2, 33, 222, 14]
error
25
[25, 14, 222, 33, 2]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the value of x
x=0
while(x<100):
x+=2
print(x)
101
99
None of the above,this is an infinite loop
100
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
AKUNTANSI DAGANG JASA
Quiz
•
12th Grade - University
15 questions
The Finance Maestro- Quiz 1
Quiz
•
University
20 questions
Susulan Stif
Quiz
•
1st Grade - University
15 questions
Foundations of Education Quiz
Quiz
•
University
15 questions
Hakikat Demokrasi
Quiz
•
University
20 questions
GAM-1-Regresión Simple-IGEM
Quiz
•
University
17 questions
PREGUNTAS INDUCCION 2024-1
Quiz
•
University
20 questions
Transitions and grammar
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade