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

Python Assignment

Uploaded by

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

Python Assignment

Uploaded by

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

CampusERP 30/06/24, 9:09 PM

Assignment: 1

Instructions:
Number of Questions: 20
Maximum Marks: 20
Each question carries 1 Mark.
All questions are compulsory.
Attempts: 1

1
Which one of the following is the correct extension of the Python file?

.py
.python
.p
.pyy

2
From which keyword we import the Tkinter in program?

call
from
import
All of the above

3
How pack() function works on tkinter widget ?

According to x,y coordinate


According to row and column vise
According to left,right,up,down
Bottom Up

4
Which of the following indexing capabilities is used as a concise means of
selecting data from a pandas object?

In
.loc[]
ipy
iy

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 1 of 6
CampusERP 30/06/24, 9:09 PM

5
For which purpose Pandas are used ?

To create a GUI programming


To create a database
To create a High level array
To create objects

6
Data set {brown, black, blue, green , red} is example of which of these?

Continous attribute
Ordinal attribute
Numeric attribute
Nominal attribute

7
Which of the following is not a data pre-processing methods

Data visualisation
Data discretization
Data cleaning
Data reduction

8
Which of the following is interpreted as the percentage of scores in a reference
group that falls below a particular raw score?

Standard scores
Percentile rank
Reference group
quartile rank

9
A collection of one or more items is called as what?

Itemset
Support
Confidence
Support count

10

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 2 of 6
CampusERP 30/06/24, 9:09 PM

The graphical representation of an SNA is made up of links and ?

People
Networks
Nodes
Computers

11
Which of the following is not a technique used during performance
benchmarking?

Reverse engineering
Analysis of operating statistics
Direct product or service comparison
To understand business strategy

12
Which of the following is effective in integrating sub-systems distributed across
different computers on a network

Broadcast models
Interrupt driven models
Event-based models
Centralized models

13
The process of constructing a mathematical model or function that can be used
to predict or determine one variable by another variable is called as ?

Regression
Correlation
Residual
Outlier plot

14
It is the translation of stored data into broader representations and concepts.

Abstraction
Generalization
Evaluation
PCA

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 3 of 6
CampusERP 30/06/24, 9:09 PM

15
function is the method inside the class in python language?

True
False

16
To Hold window screen is the use of the mainloop() in Python Tkinter

True
False

17
Exploratory data analysis is an approach of analyzing data sets to summarize
their main characteristics

True
False

18
______ of the following tool provides a GUI in python

Numpy
Tkinter
Scipy
Opencv

19
If a dimension is given as ____ in a reshaping operation, the other dimensions
are automatically calculated.

zero
one
negative one
Infinite

20
Most often, EDA relies on _____.

visual techniques
assumptions
fixed models
testing for statistical significance

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 4 of 6
CampusERP 30/06/24, 9:09 PM

Assignment: 2

Instructions:
Assignment 2 is based on the following text/paragraph of case study/situational exercise etc.
You first need to read this text and then answer the following MCMR i.e. Multiple choice
multiple response questions.
Number of Questions: 5
Each question carries 2 Mark
All Five Questions are Mandatory.
Attempts: 1

Python is a popular high-level programming language known for its simplicity and readability.
It was created by Guido van Rossum and first released in 1991. Python emphasizes code
readability and has a large standard library, making it suitable for a wide range of
applications, from web development to data analysis and scientific computing. Here are some
key aspects of Python: Syntax: Python uses a clean and easy-to-understand syntax, with
indentation and whitespace playing a significant role in structuring the code. This feature
enhances readability and enforces consistent coding practices. Interpreted Language: Python
is an interpreted language, meaning that you don't need to compile your code before
executing it. An interpreter reads and executes the code line by line, which allows for quick
development and prototyping. Dynamic Typing: Python is dynamically typed, which means
you don't need to declare the type of a variable explicitly. Variables can be assigned values of
different types during the execution of a program. Data Structures: Python provides built-in
data structures such as lists, tuples, sets, and dictionaries. These data structures are versatile
and can be used to store and manipulate collections of values efficiently. Control Flow: Python
supports common control flow structures like if-else statements, for and while loops, and
switch-case statements. These control structures allow you to execute specific blocks of code
based on conditions or iterate over sequences of elements. Functions and Modules: Python
allows you to define reusable blocks of code called functions. Functions can accept arguments
and return values. Modules are files that contain Python code and can be imported into other
programs to reuse code and organize functionality. Object-Oriented Programming: Python
supports object-oriented programming (OOP) concepts, including classes, objects,
inheritance, and polymorphism. OOP enables you to create modular, reusable, and
maintainable code. Exception Handling: Python has built-in mechanisms for handling
exceptions. You can catch and handle errors that occur during program execution, preventing
them from crashing the program abruptly. Standard Library and Packages: Python comes with
a rich standard library that provides numerous modules for various tasks, such as file I/O,
networking, regular expressions, and more. Additionally, Python has a vast ecosystem of
third-party packages and frameworks that extend its capabilities. Community and
Documentation: Python has a vibrant and supportive community. You can find extensive
documentation, tutorials, and resources online to learn and solve problems. The official
Python website (python.org) and the Python Package Index (PyPI) are great starting points.

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 5 of 6
CampusERP 30/06/24, 9:09 PM

2 Determine Python's built-in data structures from the following options

Arrays
Lists
Maps
Classes

3 Identify control flow structures supported by Python

if-else statements
for and while loops
switch-case statements
do-while loops

4 Articulate functions in Python.

Accept arguments
Return values
Access global variables only
Not be reused in different programs

5 Examine the concepts are associated with object-oriented programming in Python

Classes
Objects
Inheritance
Polymorphism

6 Determine how Python handle exceptions

By ignoring them and continuing execution


By crashing the program abruptly
By printing error messages and continuing execution
By catching and handling them

Submit Subjective MCQ Assignments

Submit Assignments Cancel

Developed & Maintained by: Software Development Cell

https://col.dpuerp.in/Secured/IDLOnlineAssignment/OAStudentAssignmentNew.aspx?StudentSetID=FHtEzQl7AoPJAlb67H%2f9qw%3d%3d Page 6 of 6

You might also like