Year/Sem:I
Year/I Sem (Common to All Branches)
Important Questions for All Units
UNIT I
- Explain the sequence, Selection and Iteration logic design structure in Pseudcode.(Basic Building Blocks of an Algorithm)
- Draw a Flowchart to find Factorial of a number.
- Write a Pseudo code to generate Fibonacci Series.
- What are the guidelines and basic symbols to be followed while drawing a Flowchart?
- Algorithm, Flowchart, Pseudo code for Tower of Hanoi.
- Algorithm, Flowchart, Pseudo code for Minimum number in a List.
- Algorithm, Flowchart, Pseudo code for Insert a card in a sorted list and Guess an integer number in a range
UNIT II
- Roots of a Quadratic Equation
- Write a Program to find whether the given number is an odd or Even.
- Greatest of 3 numbers
- Write a Program to find whether the given year is Leap year or not.
- Write a Program to circulate the values of n variables.
- Write a Program to distance between two points.
- Explain the various types of Operators in Python?
- Discuss the different argument passing mechanism in Python with suitable examples.
- Write a Python Program for the concept of exchanging the values of two variables.
- Explain the Data types available in python with examples.
- Write a Python Program to find greatest of 3 numbers using Functions.
UNIT III
- Explain various selection / branching/ condition statements with example?
- Describe looping statements in python with suitable example?
- Explain various scopes for variable available in python?
- Explain various string functions and methods in Python with suitable programs?
- Explain Recursion with suitable example?
- Programs for square root, gcd, exponentiation, sum an array of numbers
UNIT IV
- Explain in detail about tuple functions and its operations?
- Write a Python program to perform matrix multiplication
- Define List. Explain built in List methods with suitable examples.
- Write a Python program to perform Merge sort, Selection Sort, Insertion Sort.
- Write a Python program to perform Linear and Binary Search.
- Define Dictionary and various functions and methods to access the same.
UNIT V
1.
Explain
File Operation in detail with Programs/ File I/O Operations?
2.
Explain
Exception Handling in with illustrative programs?
3.
Programs
for word count, copy file.
4.
Describe
Module and Packages with Programs?
No comments:
Post a Comment