Student Questions

Question Bank (Topic/Subtopic)

Expand by type, then topic, then open subtopic questions.

MCQ: 29 Theory: 30 Practical: 0
MCQ Questions Total: 29
Structure and Union
86% 25
What is Structure
Questions: 25
Intensity: 100%
Open mcq
Array of Structure, Array within a structure
Questions: 0
Intensity: 0%
Open mcq
Declaring and Defining Structure elements
Questions: 0
Intensity: 0%
Open mcq
Nested Structure
Questions: 0
Intensity: 0%
Open mcq
Structure assignment
Questions: 0
Intensity: 0%
Open mcq
Structure Initialization
Questions: 0
Intensity: 0%
Open mcq
Union
Questions: 0
Intensity: 0%
Open mcq
User defined functions
14% 4
Function return type, parameter list, local function variables
Questions: 4
Intensity: 16%
Open mcq
Calling function from main() function or from other function
Questions: 0
Intensity: 0%
Open mcq
Function with No arguments and no return value
Questions: 0
Intensity: 0%
Open mcq
No arguments and a return value
Questions: 0
Intensity: 0%
Open mcq
Passing arguments to function
Questions: 0
Intensity: 0%
Open mcq
Recursive Function
Questions: 0
Intensity: 0%
Open mcq
with arguments and a return value
Questions: 0
Intensity: 0%
Open mcq
with arguments and no return value
Questions: 0
Intensity: 0%
Open mcq
Iterative statements
0% 0
break, continue statements.
Questions: 0
Intensity: 0%
Open mcq
for loop, range, break, continue, pass and Else with for loop, nested for loop.
Questions: 0
Intensity: 0%
Open mcq
nested while loop,
Questions: 0
Intensity: 0%
Open mcq
While loop,
Questions: 0
Intensity: 0%
Open mcq
Python Collections
0% 0
Dictionary
Questions: 0
Intensity: 0%
Open mcq
List in Python
Questions: 0
Intensity: 0%
Open mcq
Sets:
Questions: 0
Intensity: 0%
Open mcq
Tuples:
Questions: 0
Intensity: 0%
Open mcq
Python conditional
0% 0
If statement
Questions: 0
Intensity: 0%
Open mcq
if..elif statement
Questions: 0
Intensity: 0%
Open mcq
if..elif…else statements
Questions: 0
Intensity: 0%
Open mcq
nested if
Questions: 0
Intensity: 0%
Open mcq
Python Fundamentals
0% 0
Concepts of Interpreter based programming language
Questions: 0
Intensity: 0%
Open mcq
Features of Python Programming
Questions: 0
Intensity: 0%
Open mcq
Python Data types
Questions: 0
Intensity: 0%
Open mcq
Python Variables
Questions: 0
Intensity: 0%
Open mcq
User defined function.
Questions: 0
Intensity: 0%
Open mcq
Python Library
0% 0
Introduction to Numpy
Questions: 0
Intensity: 0%
Open mcq
Python Library Pandas
Questions: 0
Intensity: 0%
Open mcq
Python Operators
0% 0
Arithmetic Operators(+,-,*,/,%,**,//)
Questions: 0
Intensity: 0%
Open mcq
Assignment Operators(=,+=,-=,/=,*=,//=)
Questions: 0
Intensity: 0%
Open mcq
Comparison Operators (==,!=,>,<,>=,<=)
Questions: 0
Intensity: 0%
Open mcq
Identity and member operators(is, is not, in, not in)
Questions: 0
Intensity: 0%
Open mcq
Logical Operators(and, or, not)
Questions: 0
Intensity: 0%
Open mcq
Python Strings
0% 0
Python Strings
Questions: 0
Intensity: 0%
Open mcq
String methods
Questions: 0
Intensity: 0%
Open mcq
Concepts of Arrays and pointer
0% 0
Concepts of Single-dimensional Array
Questions: 0
Intensity: 0%
Open mcq
Concepts of Two-Dimensional Numeric Array
Questions: 0
Intensity: 0%
Open mcq
Element Address in array(Row major and Column major)
Questions: 0
Intensity: 0%
Open mcq
Pointers
Questions: 0
Intensity: 0%
Open mcq
Two-Dimensional Character Array
Questions: 0
Intensity: 0%
Open mcq
Theory Questions Total: 30
Structure and Union
7% 2
What is Structure
Questions: 1
Intensity: 33%
Open theory
Array of Structure, Array within a structure
Questions: 0
Intensity: 0%
Open theory
Declaring and Defining Structure elements
Questions: 0
Intensity: 0%
Open theory
Nested Structure
Questions: 0
Intensity: 0%
Open theory
Structure assignment
Questions: 0
Intensity: 0%
Open theory
Structure Initialization
Questions: 0
Intensity: 0%
Open theory
Union
Questions: 1
Intensity: 33%
Open theory
User defined functions
3% 1
Function return type, parameter list, local function variables
Questions: 1
Intensity: 33%
Open theory
Calling function from main() function or from other function
Questions: 0
Intensity: 0%
Open theory
Function with No arguments and no return value
Questions: 0
Intensity: 0%
Open theory
No arguments and a return value
Questions: 0
Intensity: 0%
Open theory
Passing arguments to function
Questions: 0
Intensity: 0%
Open theory
Recursive Function
Questions: 0
Intensity: 0%
Open theory
with arguments and a return value
Questions: 0
Intensity: 0%
Open theory
with arguments and no return value
Questions: 0
Intensity: 0%
Open theory
Iterative statements
10% 3
break, continue statements.
Questions: 0
Intensity: 0%
Open theory
for loop, range, break, continue, pass and Else with for loop, nested for loop.
Questions: 0
Intensity: 0%
Open theory
nested while loop,
Questions: 0
Intensity: 0%
Open theory
While loop,
Questions: 3
Intensity: 100%
Open theory
Python Collections
20% 6
Dictionary
Questions: 0
Intensity: 0%
Open theory
List in Python
Questions: 3
Intensity: 100%
Open theory
Sets:
Questions: 1
Intensity: 33%
Open theory
Tuples:
Questions: 2
Intensity: 67%
Open theory
Python conditional
3% 1
If statement
Questions: 1
Intensity: 33%
Open theory
if..elif statement
Questions: 0
Intensity: 0%
Open theory
if..elif…else statements
Questions: 0
Intensity: 0%
Open theory
nested if
Questions: 0
Intensity: 0%
Open theory
Python Fundamentals
20% 6
Concepts of Interpreter based programming language
Questions: 0
Intensity: 0%
Open theory
Features of Python Programming
Questions: 1
Intensity: 33%
Open theory
Python Data types
Questions: 1
Intensity: 33%
Open theory
Python Variables
Questions: 1
Intensity: 33%
Open theory
User defined function.
Questions: 3
Intensity: 100%
Open theory
Python Library
13% 4
Introduction to Numpy
Questions: 2
Intensity: 67%
Open theory
Python Library Pandas
Questions: 2
Intensity: 67%
Open theory
Python Operators
10% 3
Arithmetic Operators(+,-,*,/,%,**,//)
Questions: 1
Intensity: 33%
Open theory
Assignment Operators(=,+=,-=,/=,*=,//=)
Questions: 0
Intensity: 0%
Open theory
Comparison Operators (==,!=,>,<,>=,<=)
Questions: 0
Intensity: 0%
Open theory
Identity and member operators(is, is not, in, not in)
Questions: 1
Intensity: 33%
Open theory
Logical Operators(and, or, not)
Questions: 1
Intensity: 33%
Open theory
Python Strings
13% 4
Python Strings
Questions: 1
Intensity: 33%
Open theory
String methods
Questions: 3
Intensity: 100%
Open theory
Concepts of Arrays and pointer
0% 0
Concepts of Single-dimensional Array
Questions: 0
Intensity: 0%
Open theory
Concepts of Two-Dimensional Numeric Array
Questions: 0
Intensity: 0%
Open theory
Element Address in array(Row major and Column major)
Questions: 0
Intensity: 0%
Open theory
Pointers
Questions: 0
Intensity: 0%
Open theory
Two-Dimensional Character Array
Questions: 0
Intensity: 0%
Open theory
Practical Questions Total: 0
Structure and Union
0% 0
What is Structure
Questions: 0
Intensity: 0%
Open practical
Array of Structure, Array within a structure
Questions: 0
Intensity: 0%
Open practical
Declaring and Defining Structure elements
Questions: 0
Intensity: 0%
Open practical
Nested Structure
Questions: 0
Intensity: 0%
Open practical
Structure assignment
Questions: 0
Intensity: 0%
Open practical
Structure Initialization
Questions: 0
Intensity: 0%
Open practical
Union
Questions: 0
Intensity: 0%
Open practical
User defined functions
0% 0
Function return type, parameter list, local function variables
Questions: 0
Intensity: 0%
Open practical
Calling function from main() function or from other function
Questions: 0
Intensity: 0%
Open practical
Function with No arguments and no return value
Questions: 0
Intensity: 0%
Open practical
No arguments and a return value
Questions: 0
Intensity: 0%
Open practical
Passing arguments to function
Questions: 0
Intensity: 0%
Open practical
Recursive Function
Questions: 0
Intensity: 0%
Open practical
with arguments and a return value
Questions: 0
Intensity: 0%
Open practical
with arguments and no return value
Questions: 0
Intensity: 0%
Open practical
Iterative statements
0% 0
break, continue statements.
Questions: 0
Intensity: 0%
Open practical
for loop, range, break, continue, pass and Else with for loop, nested for loop.
Questions: 0
Intensity: 0%
Open practical
nested while loop,
Questions: 0
Intensity: 0%
Open practical
While loop,
Questions: 0
Intensity: 0%
Open practical
Python Collections
0% 0
Dictionary
Questions: 0
Intensity: 0%
Open practical
List in Python
Questions: 0
Intensity: 0%
Open practical
Sets:
Questions: 0
Intensity: 0%
Open practical
Tuples:
Questions: 0
Intensity: 0%
Open practical
Python conditional
0% 0
If statement
Questions: 0
Intensity: 0%
Open practical
if..elif statement
Questions: 0
Intensity: 0%
Open practical
if..elif…else statements
Questions: 0
Intensity: 0%
Open practical
nested if
Questions: 0
Intensity: 0%
Open practical
Python Fundamentals
0% 0
Concepts of Interpreter based programming language
Questions: 0
Intensity: 0%
Open practical
Features of Python Programming
Questions: 0
Intensity: 0%
Open practical
Python Data types
Questions: 0
Intensity: 0%
Open practical
Python Variables
Questions: 0
Intensity: 0%
Open practical
User defined function.
Questions: 0
Intensity: 0%
Open practical
Python Library
0% 0
Introduction to Numpy
Questions: 0
Intensity: 0%
Open practical
Python Library Pandas
Questions: 0
Intensity: 0%
Open practical
Python Operators
0% 0
Arithmetic Operators(+,-,*,/,%,**,//)
Questions: 0
Intensity: 0%
Open practical
Assignment Operators(=,+=,-=,/=,*=,//=)
Questions: 0
Intensity: 0%
Open practical
Comparison Operators (==,!=,>,<,>=,<=)
Questions: 0
Intensity: 0%
Open practical
Identity and member operators(is, is not, in, not in)
Questions: 0
Intensity: 0%
Open practical
Logical Operators(and, or, not)
Questions: 0
Intensity: 0%
Open practical
Python Strings
0% 0
Python Strings
Questions: 0
Intensity: 0%
Open practical
String methods
Questions: 0
Intensity: 0%
Open practical
Concepts of Arrays and pointer
0% 0
Concepts of Single-dimensional Array
Questions: 0
Intensity: 0%
Open practical
Concepts of Two-Dimensional Numeric Array
Questions: 0
Intensity: 0%
Open practical
Element Address in array(Row major and Column major)
Questions: 0
Intensity: 0%
Open practical
Pointers
Questions: 0
Intensity: 0%
Open practical
Two-Dimensional Character Array
Questions: 0
Intensity: 0%
Open practical

Second View

All Questions Explorer

Current topic/subtopic view ke saath ab ek combined explorer bhi hai jahan saare mapped questions ek sath milenge.

Total
59
MCQ
29
Theory
30
Practical
0
Type
Marks
Showing 59 questions
#46 • Theory
Iterative statements While loop, 3 Marks
Explain fixed loop iterative statements in Python.
#47 • Theory
Iterative statements While loop, 3 Marks
Discuss any two iterative statements of Python.
#48 • Theory
Iterative statements While loop, 3 Marks
Explain the while loop in Python with the else clause.
#49 • Theory
Python Collections List in Python 5 Marks
What is a List? How to create a list in Python? How to access list members? Explain with examples.
#50 • Theory
Python Collections List in Python 5 Marks
Explain list with its methods.
#51 • Theory
Python Collections List in Python 5 Marks
Explain list slicing with examples.
#54 • Theory
Python Collections Sets: 5 Marks
Write a note on sets and its methods with examples.
#52 • Theory
Python Collections Tuples: 3 Marks
Explain operations performed on tuples.
#53 • Theory
Python Collections Tuples: 5 Marks
Differentiate tuple and dictionary
#40 • Theory
Python Fundamentals Features of Python Programming 5 Marks
Write a note on features of the Python programming language.
#39 • Theory
Python Fundamentals Python Data types 5 Marks
Explain numeric data types in Python
#44 • Theory
Python Fundamentals Python Variables 3 Marks
How to declare variables in Python? Explain local and global variables with examples.
#59 • Theory
Python Fundamentals User defined function. 3 Marks
Explain different ways to pass arguments to user defined functions in Python.
#60 • Theory
Python Fundamentals User defined function. 3 Marks
Write a Python program with a user defined function that checks whether a number is palindrome or not.
#61 • Theory
Python Fundamentals User defined function. 1 Marks
Write a Python program with a user defined function that accepts a string and replaces all vowels with '*'
#64 • Theory
Python Library Introduction to Numpy 5 Marks
What is NumPy? Write a note on NumPy with its methods.
#65 • Theory
Python Library Introduction to Numpy 5 Marks
How to create an array using NumPy? Explain any two methods with examples.
#62 • Theory
Python Library Python Library Pandas 5 Marks
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.
#63 • Theory
Python Library Python Library Pandas 5 Marks
Explain Pandas DataFrame in brief. How to create a DataFrame using a list?
#41 • Theory
Python Operators Arithmetic Operators(+,-,*,/,%,**,//) 3 Marks
Explain arithmetic operators in Python.
#43 • Theory
Python Operators Identity and member operators(is, is not, in, not in) 1 Marks
Explain identity and membership operators in Python in detail.
#42 • Theory
Python Operators Logical Operators(and, or, not) 1 Marks
Explain logical and member operators in Python.
#55 • Theory
Python Strings Python Strings 5 Marks
Write a note on operations performed on string in Python.
#56 • Theory
Python Strings String methods 3 Marks
Explain any four string methods in Python with examples.
#57 • Theory
Python Strings String methods 3 Marks
Differentiate find() and index() functions of string in Python.
#58 • Theory
Python Strings String methods 3 Marks
Write difference between replace() and split() of string in Python
#45 • Theory
Python conditional If statement 3 Marks
Explain conditional statements in Python.
#37 • Theory
Structure and Union Union 3 Marks
Discuss memory allocation in union.
#10187 • MCQ
Structure and Union What is Structure Not Set
Which of the following is a collection of different data types?
A. String
B. Array
C. Structure
D. Files
Correct Option: 3
#10190 • MCQ
Structure and Union What is Structure Not Set
What is the purpose of the 'else' statement in C's 'if-else' control structure?
A. Execute the 'if' block
B. Execute the 'else' block
C. Execute both 'if' and 'else' blocks
D. Skip the 'if' block
Correct Option: 2
#10191 • MCQ
Structure and Union What is Structure Not Set
Which control structure is used to make a decision between two or more alternatives in C?
A. switch case
B. for loop
C. if statement
D. while loop
Correct Option: 3
#10192 • MCQ
Structure and Union What is Structure Not Set
What is the result of the expression 5 > 3 && 4 < 6 in C?
A. TRUE
B. FALSE
C. 1
D. 0
Correct Option: 1
#10193 • MCQ
Structure and Union What is Structure Not Set
In C, what happens if the 'default' case is missing in a 'switch' statement?
A. It causes a compilation error
B. It has no effect
C. It executes the 'default' case by default
D. It generates a runtime error
Correct Option: 2
#10194 • MCQ
Structure and Union What is Structure Not Set
What is the purpose of the 'continue' statement in C?
A. Skip the loop
B. Exit the program
C. Skip the current iteration
D. Exit the loop
Correct Option: 3
#10195 • MCQ
Structure and Union What is Structure Not Set
How many times will a 'do-while' loop execute its body if the condition is initially false in C?
A. 0 times
B. 1 time
C. Infinite times
D. It depends on the loop body
Correct Option: 1
#10196 • MCQ
Structure and Union What is Structure Not Set
What is the result of the expression !(5 == 5) in C?
A. TRUE
B. FALSE
C. 1
D. 0
Correct Option: 2
#10197 • MCQ
Structure and Union What is Structure Not Set
In C, which control structure is used to iterate through a collection of items, such as an array or a list?
A. for loop
B. if statement
C. switch case
D. while loop
Correct Option: 1
#10198 • MCQ
Structure and Union What is Structure Not Set
Which of the following has the same syntax.(1) Structure (2) Union (3) Array (4) Pointer
A. (1) and (2)
B. (3) and (4)
C. (1),(3) and (4)
D. (1) and (3)
Correct Option: 1
#10199 • MCQ
Structure and Union What is Structure Not Set
What is the similarity between structure, union and enumeration?
A. All of them let you define new values
B. All of them let you define new data types
C. All of them let you define new pointers
D. All of them let you define new structures
Correct Option: 2
#10200 • MCQ
Structure and Union What is Structure Not Set
What is the main difference between structure and union?
A. There is no difference
B. Union takes less memory
C. Union is faster
D. Structure is faster
Correct Option: 2
#10201 • MCQ
Structure and Union What is Structure Not Set
What is a structure in C language.?
A. A structure is a collection of elements that can be of same data type.
B. A structure is a collection of elements that can be of different data type.
C. Elements of a structure are called members.
D. All the above
Correct Option: 4
#10202 • MCQ
Structure and Union What is Structure Not Set
What is the size of a C structure.?
A. C structure is always 128 bytes.
B. Size of C structure is the total bytes of all elements of structure.
C. Size of C structure is the size of largest element.
D. None of the above
Correct Option: 2
#10203 • MCQ
Structure and Union What is Structure Not Set
Choose a correct statement about C structures.
A. Structure elements can be initialized at the time of declaration.
B. Structure members can not be initialized at the time of declaration
C. Only integer members of structure can be initialized at the time of declaraion
D. None of the above
Correct Option: 2
#10204 • MCQ
Structure and Union What is Structure Not Set
A C Structure or User defined data type is also called.?
A. Derived data type
B. Secondary data type
C. Aggregate data type
D. All the above
Correct Option: 4
#10205 • MCQ
Structure and Union What is Structure Not Set
What are the uses of C Structures.?
A. structure is used to implement Linked Lists, Stack and Queue data structures
B. Structures are used in Operating System functionality like Display and Input taking.
C. Structure are used to exchange information with peripherals of PC
D. All the above
Correct Option: 4
#10206 • MCQ
Structure and Union What is Structure Not Set
What are the types of data allowed inside a structure.?
A. int, float, double, long double
B. char, enum, union
C. pointers and Same structure type members
D. All the above
Correct Option: 4
#10207 • MCQ
Structure and Union What is Structure Not Set
Which of the following operation is illegal in structures?
A. Typecasting of structure
B. Pointer to a variable of the same structure
C. Dynamic allocation of memory for structure
D. All of the mentioned
Correct Option: 1
#10208 • MCQ
Structure and Union What is Structure Not Set
Which of the following cannot be a structure member?
A. Another structure
B. Function
C. Array
D. None of the mentioned
Correct Option: 2
#10209 • MCQ
Structure and Union What is Structure Not Set
Which properly declares a variable of struct foo?
A. struct foo;
B. struct foo var;
C. foo;
D. int foo;
Correct Option: 2
#10210 • MCQ
Structure and Union What is Structure Not Set
Members of a union are accessed as________________.
A. union-name.member
B. union-pointer->member
C. Both a & b
D. None of the mentioned
Correct Option: 3
#10211 • MCQ
Structure and Union What is Structure Not Set
Which of the following is a properly defined struct?
A. struct {int a;}
B. struct a_struct {int a;}
C. struct a_struct int a;
D. struct a_struct {int a;};
Correct Option: 4
#10212 • MCQ
Structure and Union What is Structure Not Set
Presence of code like "s.t.b = 10" indicate
A. Syntax Error
B. structure
C. double data type
D. An ordinary variable name
Correct Option: 2
#10213 • MCQ
Structure and Union What is Structure Not Set
What is the keyword used to define a structure in C?
A. struct
B. record
C. class
D. object
Correct Option: 1
#38 • Theory
Structure and Union What is Structure 5 Marks
Write a note on Structure in C with an example.
#1573 • MCQ
User defined functions Function return type, parameter list, local function variables Not Set
Types of function in C language
A. Library Function
B. User defined function
C. Both A and B
D. None of the above
Correct Option: 3
#4412 • MCQ
User defined functions Function return type, parameter list, local function variables Not Set
Which keyword is used to give back the value
A. static
B. void
C. return
D. const
Correct Option: 3
#4413 • MCQ
User defined functions Function return type, parameter list, local function variables Not Set
C program much contain atleast
A. 2 function
B. 1 function
C. 0 function
D. n number of function
Correct Option: 2
#4414 • MCQ
User defined functions Function return type, parameter list, local function variables Not Set
Which of the function definition run correctly
A. int sum(int a, int b) {return (a + b);}
B. int sum(a, b) return (a + b);
C. int sum(int a, int b) return (a + b);
D. All of the above
Correct Option: 1
#36 • Theory
User defined functions Function return type, parameter list, local function variables 2 Marks
What is a function prototype? Write its importance.

udf

Asked by Jariwala Jil on Feb 03, 2026

✅ Solved

Write a function Armstrong that returns 1 if its argument is an Armstrong number and returns zero otherwise.

⚡ Functions C Medium
💬 0 comments 👍 0 upvotes

2d array

Asked by Jariwala Jil on Feb 03, 2026

✅ Solved

Write a program to take input of 5 names and surnames in different two dimensional arrays. Then concatenate (join) names with their surname in a third 2D array.

📊 Arrays C Hard
💬 0 comments 👍 0 upvotes

structure program

Asked by Jariwala Jil on Feb 03, 2026

✅ Solved

Define a structure item with following fields item code, name and quantity. Write a program that takes input of structure and display in proper format.

📦 Structure C Medium
💬 0 comments 👍 0 upvotes
Showing 3 question(s)