0% found this document useful (0 votes)
4 views

Programming in Python - - Unit 3 - Week 3 (Contents)_ Introduction to Python

The document outlines the contents and assessments for a Programming in Python course, detailing weekly topics and assignment submissions. It includes specific questions related to Python programming concepts, such as variable names, data types, and syntax, along with the correct answers and scores. The assignment submission deadline was March 3, 2024, and the document indicates that students were allowed to submit the assignment only once.

Uploaded by

rvseceprint
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Programming in Python - - Unit 3 - Week 3 (Contents)_ Introduction to Python

The document outlines the contents and assessments for a Programming in Python course, detailing weekly topics and assignment submissions. It includes specific questions related to Python programming concepts, such as variable names, data types, and syntax, along with the correct answers and scores. The assignment submission deadline was March 3, 2024, and the document indicates that students were allowed to submit the assignment only once.

Uploaded by

rvseceprint
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

4/23/24, 2:12 AM Programming in Python - - Unit 3 - Week 3 (Contents): Introduction to Python

(https://swayam.gov.in) (https://swayam.gov.in/nc_details/CEC)

[email protected]

CEC (https://swayam.gov.in/explorer?ncCode=CEC) » Programming in Python (course)

Course Assessment-3-2024
outline The due date for submitting this assignment has passed.
Due on 2024-03-03, 23:59 IST.
Week 1
(Contents) :
Planning the
Assignment submitted on 2024-03-01, 19:38 IST
Computer 1) What will be the output of the following code? 1 point
Program () print(54%4)

Week 2 0
(Contents): 1
Techniques
2
of Problem
Solving () 13

Yes, the answer is correct.


Week 3 Score: 1
(Contents): Accepted Answers:
Introduction 2
to Python ()
2) What will be the output of the following code? 1 point
Lecture 1: a1=20
Introduction to
a2=30
Python
avg=(a1+a2)/2
programming
print(avg)
(Installation
and working)
20
(unit?
unit=13&lesso 30.0
n=14) 25
Lecture 2: 25.0
Basic Syntax,
Yes, the answer is correct.
Variable and
Data Types
(unit?
S 1

https://onlinecourses.swayam2.ac.in/cec24_cs01/unit?unit=13&assessment=94 1/3
4/23/24, 2:12 AM Programming in Python - - Unit 3 - Week 3 (Contents): Introduction to Python

unit=13&lesso Score: 1
n=15) Accepted Answers:
25.0
Lecture 3:
Operators 3) What will be the output of the following code? 1 point
(unit? print(2**2**2 )
unit=13&lesso
n=16) 2

Lecture 4
Material (unit? 8
unit=13&lesso
16
n=17)
Yes, the answer is correct.
Quiz: Score: 1
Assessment- Accepted Answers:
3-2024 16
(assessment?
name=94)
4) Which of the following is an incorrect variable name? 1 point
Week 4
num
(Contents):
Conditional NUM
Statements _num
and Looping 2NUM
()
Yes, the answer is correct.
Score: 1
Week 5
Accepted Answers:
(Contents):
2NUM
String
Manipulation
5) What will be the output of the following code? 1 point
()
print(5*2**5 )

Week 6 1000000
(Contents):
50
Introduction
to list. () 160
10
Week 7
Yes, the answer is correct.
(Content): Score: 1
Introduction Accepted Answers:
to tuples. () 160

Week 8 6) Which symbol is used to give comments in Python? 1 point


(Contents):
Introduction ^
to
&
dictionaries
() *
#
Week 9 Yes, the answer is correct.
(Contents): Score: 1
Python Accepted Answers:
Functions () #

https://onlinecourses.swayam2.ac.in/cec24_cs01/unit?unit=13&assessment=94 2/3
4/23/24, 2:12 AM Programming in Python - - Unit 3 - Week 3 (Contents): Introduction to Python

7) Which of these in not a core python data type? 1 point


Week 10
(Contents) : List
Python
Dictionary
Modules ()
Tuple
Week 11 Class
(Contents):
Yes, the answer is correct.
Input-Output Score: 1
() Accepted Answers:
Class
Week 12
(Contents): 8) Which of the following is an invalid statement? 1 point
Exception
Handling () xyz = 5,000
x,y,z = 5000,6000,7000
x y z = 5000
x_y_z= 5000

Yes, the answer is correct.


Score: 1
Accepted Answers:
x y z = 5000

9) Which of the following do not belong to python numbers? 1 point

Decimal
Integer
Float
Complex Number

Yes, the answer is correct.


Score: 1
Accepted Answers:
Decimal

10) Declare z=2, is a correct way of declaring and initialising a variable, z with value 2? 1 point

False
True

No, the answer is incorrect.


Score: 0
Accepted Answers:
False

You were allowed to submit this assignment only once.

https://onlinecourses.swayam2.ac.in/cec24_cs01/unit?unit=13&assessment=94 3/3

You might also like