FILE HANDLING VIVA

FILE HANDLING VIVA 1. What is a data file in Python, and why is it used? Sol:- A data file stores information for long-term use. Python supports text and binary files for storing and retrieving data. 2. What are the two main types of data files? Sol:- Text files and binary files. 3. Explain the […]

FUNCTION VIVA

FUNCTION 1. What is the difference between a parameter and an argument? Sol :- A parameter is a variable defined in the function definition to accept input. An argument is the actual value passed to the function during a function call. 2. What is a default parameter in Python? Provide an example. Sol:- A default […]

PYTHON REVISION TOUR -II

PYTHON REVISION TOUR -II 1. What is a string in Python? Ans :- A sequence of characters enclosed in quotes (`’`, `”`, or `”’`). 2. How do you create a multi-line string? Ans :- Using triple quotes (`”’` or `”””`). multiline = ”’This is a multi-line string.”’ 3. What is string slicing? Ans :- Extracting […]

PYTHON REVISION TOUR – I VIVA

PYTHON REVISION TOUR – I VIVA 1. What is a character set in Python? Ans :- The set of valid characters that Python recognizes for writing programs, including letters, digits, and symbols.   2. List some commonly used characters in Python. Ans :- Letters (a-z, A-Z), digits (0-9), special symbols (+, -, *, /), and […]

SOCIETAL IMPACTS

SOCIETAL IMPACTS 1. What is Online fraud? Ans. Fraud committed using the Internet is called Online fraud. Online fraud may occur in many forms such as : non-delivered goods; non-existent companies; stealing information; fraudulent payments etc. 2. What are intellectual property rights ? Ans. Intellectual property rights are the rights of the owner of information […]

DATABASE QUERY

DATABASE QUERY 1. What is meant by a primary key ? Ans. A primary key is a field in the table/file that uniquely identifies every record in a file. 2. Define the following terms : (a) relation (b) primary key(c) cardinality(d) tuple (e) candidate key(f) degree(g) attribute(h) cartesian product(i) domain Ans.(a) Relation. A relation is […]

NETWORKING

NETWORKING 1. What is mesh network ? Ans. A mesh network is a network in which there are multiple network linksbetween computers to provide multiple paths for data to travel. 2. What is cladding ? Ans. Cladding refers to a layer of a glass surrounding the center fiber of glass inside a fiber-optic cable. 3. […]

Plotting with Pyplot – I

Plotting with Pyplot – I 1 What is ‘Pyplot’ in Matplotlib? Ans. Pyplot` is a module in the Matplotlib library used for creating static, interactive, and animated visualizations in Python. 2. How do you import the Matplotlib library in Python?** Ans. import matplotlib.pyplot as plt. 3. Which function is used to create a line graph […]

PYTHON PANDAS – I Viva

PYTHON PANDAS – I Viva Q.1What is Pandas/Python pandas ? Ans. Pandas is a Python library package that has robust features. It is very fast, flexible, and expressive data structures designed to make working with “relational” or “labeled” data both easy. Q.2 What is Python Pandas used for ? Ans. Pandas is a software library […]

sign up!

We’ll send you the hottest deals straight to your inbox so you’re always in on the best-kept software secrets.