| Theory |
Explain fixed loop iterative statements in Python. |
Iterative statements |
While loop, |
3 Marks |
| Theory |
Discuss any two iterative statements of Python. |
Iterative statements |
While loop, |
3 Marks |
| Theory |
Explain the while loop in Python with the else clause. |
Iterative statements |
While loop, |
3 Marks |
| Theory |
What is a List? How to create a list in Python? How to access list members? Explain with examples. |
Python Collections |
List in Python |
5 Marks |
| Theory |
Explain list with its methods. |
Python Collections |
List in Python |
5 Marks |
| Theory |
Explain list slicing with examples. |
Python Collections |
List in Python |
5 Marks |
| Theory |
Write a note on sets and its methods with examples. |
Python Collections |
Sets: |
5 Marks |
| Theory |
Explain operations performed on tuples. |
Python Collections |
Tuples: |
3 Marks |
| Theory |
Differentiate tuple and dictionary |
Python Collections |
Tuples: |
5 Marks |
| Theory |
Write a note on features of the Python programming language. |
Python Fundamentals |
Features of Python Programming |
5 Marks |
| Theory |
Explain numeric data types in Python |
Python Fundamentals |
Python Data types |
5 Marks |
| Theory |
How to declare variables in Python? Explain local and global variables with examples. |
Python Fundamentals |
Python Variables |
3 Marks |
| Theory |
Explain different ways to pass arguments to user defined functions in Python. |
Python Fundamentals |
User defined function. |
3 Marks |
| Theory |
Write a Python program with a user defined function that checks whether a number is palindrome or not. |
Python Fundamentals |
User defined function. |
3 Marks |
| Theory |
Write a Python program with a user defined function that accepts a string and replaces all vowels with '*' |
Python Fundamentals |
User defined function. |
1 Marks |
| Theory |
What is NumPy? Write a note on NumPy with its methods. |
Python Library |
Introduction to Numpy |
5 Marks |
| Theory |
How to create an array using NumPy? Explain any two methods with examples. |
Python Library |
Introduction to Numpy |
5 Marks |
| Theory |
Write a Python program which repeatedly asks the user to enter product name and its price. Store the information in a dictionary and allow searching by product name. |
Python Library |
Python Library Pandas |
5 Marks |
| Theory |
Explain Pandas DataFrame in brief. How to create a DataFrame using a list? |
Python Library |
Python Library Pandas |
5 Marks |
| Theory |
Explain arithmetic operators in Python. |
Python Operators |
Arithmetic Operators(+,-,*,/,%,**,//) |
3 Marks |
| Theory |
Explain identity and membership operators in Python in detail. |
Python Operators |
Identity and member operators(is, is not, in, not in) |
1 Marks |
| Theory |
Explain logical and member operators in Python. |
Python Operators |
Logical Operators(and, or, not) |
1 Marks |
| Theory |
Write a note on operations performed on string in Python. |
Python Strings |
Python Strings |
5 Marks |
| Theory |
Explain any four string methods in Python with examples. |
Python Strings |
String methods |
3 Marks |
| Theory |
Differentiate find() and index() functions of string in Python. |
Python Strings |
String methods |
3 Marks |
| Theory |
Write difference between replace() and split() of string in Python |
Python Strings |
String methods |
3 Marks |
| Theory |
Explain conditional statements in Python. |
Python conditional |
If statement |
3 Marks |
| Theory |
Discuss memory allocation in union. |
Structure and Union |
Union |
3 Marks |
| MCQ |
Which of the following is a collection of different data types? |
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the purpose of the 'else' statement in C's 'if-else' control structure?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which control structure is used to make a decision between two or more alternatives in C?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the result of the expression 5 > 3 && 4 < 6 in C?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
In C, what happens if the 'default' case is missing in a 'switch' statement?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the purpose of the 'continue' statement in C?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
How many times will a 'do-while' loop execute its body if the condition is initially false in C?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the result of the expression !(5 == 5) in C?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
In C, which control structure is used to iterate through a collection of items, such as an array or a list?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which of the following has the same syntax.(1) Structure (2) Union (3) Array (4) Pointer
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the similarity between structure, union and enumeration?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the main difference between structure and union?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is a structure in C language.?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the size of a C structure.?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Choose a correct statement about C structures.
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
A C Structure or User defined data type is also called.?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What are the uses of C Structures.?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What are the types of data allowed inside a structure.?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which of the following operation is illegal in structures?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which of the following cannot be a structure member?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which properly declares a variable of struct foo?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Members of a union are accessed as________________.
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Which of the following is a properly defined struct?
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
Presence of code like "s.t.b = 10" indicate
|
Structure and Union |
What is Structure |
Not Set |
| MCQ |
What is the keyword used to define a structure in C? |
Structure and Union |
What is Structure |
Not Set |
| Theory |
Write a note on Structure in C with an example. |
Structure and Union |
What is Structure |
5 Marks |
| MCQ |
Types of function in C language |
User defined functions |
Function return type, parameter list, local function variables |
Not Set |
| MCQ |
Which keyword is used to give back the value |
User defined functions |
Function return type, parameter list, local function variables |
Not Set |
| MCQ |
C program much contain atleast |
User defined functions |
Function return type, parameter list, local function variables |
Not Set |
| MCQ |
Which of the function definition run correctly |
User defined functions |
Function return type, parameter list, local function variables |
Not Set |
| Theory |
What is a function prototype? Write its importance. |
User defined functions |
Function return type, parameter list, local function variables |
2 Marks |