
Python and C Programming Quiz
Authored by Gunasree Sidda
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of print(2 * 3)?
5
6
23
None
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to define a function?
func
define
def
function
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of print(type("Hello"))?
<class 'str'>
<class 'int'>
<class 'char'>
<class 'text'>
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name?
2name
name_1
@name
name-1
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does len([1, 2, 3]) return?
1
2
3
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which data type is mutable?
Tuple
String
List
Integer
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you start a comment in Python?
//
#
/*
--
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?