GE8151 Problem Question Bank - 2017 Regulations ()
( www.edunotes.in )
| Q.NO | UNIT | PART | Compete | QUESTION |
|---|
| 0 | Questions |
| 1 | Point out any 5 programming language |
| 2 | Define an algorithm |
| 3 | Distinguish between pseudo code and flowchart. |
| 4 | Define control flow statement with an eg: |
| 5 | Describe recursion. |
| 6 | Discover the concept of towers of Hanoi. |
| 7 | Explain list |
| 8 | Explain Iteration |
| 9 | Define simple computational problem |
| 10 | Assess problem solving method. |
| 11 | What is meant by sorting ? mention its types |
| 12 | Develop algorithm for Celsius to Fahrenheit and vice versa |
| 13 | Define programming language |
| 14 | Identify the function types |
| 15 | Examine a simple program to print the integer number from 1 to 50 |
| 16 | Discuss building blocks of algorithm |
| 17 | Discover the steps of simple strategies for developing algorithms. |
| 18 | Differentiate user defined function and predefined function |
| 19 | Analyze the notations used in algorithmic problem solving |
| 20 | Describe some example for recursion function |
| 1 | Explain the algorithm GCD and find LCM-Give Example |
| 2 | i)Find minimum in a list, ii) Find Maximum in a List |
| 3 | i)Summarize advantage and disadvantage of flow chart ii)Summarize the symbol used in flow chart |
| 4 | Describe Build an algorithm for the following (i) Prime number or not (ii) odd or even |
| 5 | Explain the rules for pseudo code and uses of keywords |
| 6 | Explain the following programming language i). Machine language ii). Assembly language iii). High level language |
| 7 | Neat sketch explain the following building blocks of alg. i). Statements ii). Control Flow |
| 8 | Describe State and function in Building Block and examples. |
| 9 | Draw a flow chart print all prime number between to intervals |
| 10 | i). Describe pseudo code for Fibonacci sequence using ii). Draw a flow chart for factorial given number (3*3) |
| 11 | i). Describe the program to insert an element in a sorted list ii). Draw the flow chart sum of n numbers |
| 12 | i). Summarize the difference between algorithm, flow chart and pseudo code |
| 13 | (i). Explain algorithmic problem solving technique in detail. |
| 14 | Explain program life cycle |
| 1 | What is pseudo code? Explain how it can be designed and write benefits and limitations. |
| 2 | Explain guidelines for preparing flowcharts, benefits and limitation of flowcharts and preparing flow chart for quadratic equation |
| 3 | Describe the algorithm for finding sum and average of n numbers. Also state the properties of a good algorithm |
| 4 | Describe the algorithm of towers of honai problem. |
| 1 | Define the two modes in Python. |
| 2 | Give the various data types in Python. |
| 3 | Point Out the rules to be followed for naming any identifier. |
| 4 | Assess a program to assign and access variables. |
| 5 | Compose the importance of indentation in python. |
| 6 | Select and assign how an input operation was done in python. |
| 7 | Demonstrate the various operators in python. |
| 8 | Discover the difference between logical and bitwise operator. |
| 9 | Give the reserved words in Python. |
| 10 | Give the operator precedence in python. |
| 11 | Define the scope and lifetime of a variable in python. |
| 12 | Point out the uses of default arguments in python. |
| 13 | Generalize the uses of python module. |
| 14 | Demonstrate how a function calls another function. Justify your answer. |
| 15 | List the syntax for function call with and without arguments. |
| 16 | Define recursive function. |
| 17 | Define the syntax for passing arguments. |
| 18 | What are the two parts of function definition give the syntax |
| 19 | Point out the difference between recursive and iterative technique. |
| 20 | Give the syntax for variable length arguments. |
| 1 | i) Illustrate a program to display different data types using variables and literal constants. ii) Show how an input and output function is performed |
| 2 | Explain in detail about the various operators in python with suitable examples. |
| 3 | i)Discuss the difference between tuples and list ii) Discuss the various operation that can be performed on a tuple and Lists (minimum 5)with an examp |
| 4 | i)How the area of circle is calculated explain with an example. ii) Describe a program to calculate student result based on two examinations, one spo |
| 5 | Demonstrate the various expressions in python with suitable examples. |
| 6 | i)What is membership and identity operators. ii) Write a program to perform addition, subtraction, multiplication, integer division, floor division an |
| 7 | i)Formulate the difference between type casting and type coercion with suitable example ii) Write a a program to print the digit at ones place and hu |
| 8 | i) Discuss the need and importance of function in python. ii) Illustrate a program to exchange the value of two variables with temporary variables |
| 9 | Briefly discuss in detail about function prototyping in python. With suitable example program |
| 10 | i)Analyze the difference between local and global variables. ii) Explain with an example program to circulate the values of n |
| 11 | i) Describe in detail about lambda functions or anonymous function. ii) Describe in detail about the rules to be followed while using Lambda function. |
| 12 | i)Explain with an example program to return the average of its argument ii) Explain the various features of functions in python. |
| 13 | i)Describe the syntax and rules involved in the return statement in python ii) Write a program to demonstrate the flow of control after the return s |
| 14 | i)Analyze with a program to find out the distance between two points using python. ii) Write a program to calculate the simple interest using python |
| 1 | Explain how to write and execute a program in python illustrate the steps for writing a python program to check whether the number is palindrome or no |
| 2 | i)Formulate with an example program to pass the list arguments to a function (ii)Write a program to perform selection sort from a list of numbers usi |
| 3 | Do the Case study and perform the following operation in tuples i) Maxima ii)minima iii)sum of two tuples iv) duplicate a tuple v)slicing operator v |
| 4 | i)Formulate with an example program to find out all the values in the list that are greater than the specified number. ii)Write a program to find ou |
| 1 | Analyze different ways to manipulate strings in python. |
| 2 | Write the syntax of if and if-else statements. |
| 3 | List out the applications of arrays. |
| 4 | Discuss about continue and pass statements. |
| 5 | What will be the output of print str[2:5] if str=?hello world!?? |
| 6 | Give the use of return () statement with a suitable example. |
| 7 | Write a program to iterate a range using continue statement. |
| 8 | Name the type of Boolean operators. |
| 9 | Explain about break statement with an example. |
| 10 | Where does indexing starts in python? |
| 11 | Illustrate the flow chart of if-elif- else statements |
| 12 | Describe various methods used on a string. (Any Four) |
| 13 | What are the advantages and disadvantages of recursion function? |
| 14 | Explain the significance of for loop with else in an example. |
| 15 | Define array with an example. |
| 16 | Differentiate for loop and while loop. |
| 17 | Classify global variable with local variable |
| 18 | Summarize string modules |
| 19 | Justify the effects of slicing operatiwonwswo.nVaidnyaarrrtahyiplus.com |
| 20 | How to access the elements of an array using index? |
| 1 | (i) Write a python program to find the sum of N natural numbers. (ii) What is the use of pass statement, illustrate with an example. |
| 2 | (i) Define methods in a string with an example program using at least five methods. (ii) How to access characters of a string? |
| 3 | Write a program for binary search using Arrays |
| 4 | What is call by value and call by reference and explain it with suitable Example |
| 5 | (i). Write a python program to find the given number is odd or even (ii). Explain break and continue statement with the help of for loop in an example |
| 6 | (i). Write a python program to count the number of vowels in a string provided by the user. (ii). Explain the types of function arguments in python |
| 7 | Explain the syntax and flow chart of the following loop statements (i) for loop (ii) while loop |
| 8 | (i). Illustrate the flow chart and syntax of if-elif- else statements (ii). Develop a program to find the largest among three numbers |
| 9 | (i). Explain recursive function. How do recursive function works? Explain with a help of a program |
| 10 | (i). Create a python program to find the given year is leap or not (ii). Investigate on mutability and immutability in python |
| 11 | (i) Explain the different types of the function prototype with an example (ii). Examine the program on Fibonacci series |
| 12 | (i). Generate a program that uses lambda function to multiply two numbers (ii). Discuss the methods to manipulate the arrays in python |
| 13 | Explain the significance of xrange() function in for loop with a help of a program |
| 14 | (i). Create a program to reverse a string without using recursion (ii). Illustrate the concept of local and global variables |
| 1 | Write a python program to design simple calculator performing arithmetic functions like addition, subtraction, multiplication and division with the i |
| 2 | Create a program for linear search using Arrays |
| 3 | (i) Illustrate a program to find GCD of m and n. (ii) How to find the square root of a number using newton?s method |
| 4 | (i) Write a python program to sum an array of numbers ii) Create a program to print the following pattern 1 121 12321 1234321 |
| 1 | Define Python list. |
| 2 | What are the list operations? |
| 3 | What are the different ways to create a list? |
| 4 | Illustrate negative indexing in list with an example. |
| 5 | Describe list slicing with examples. |
| 6 | List out the methods that are available with list object in python programming |
| 7 | Show the membership operators used in Lists |
| 8 | Define Python tuple. |
| 9 | What are the advantages of tuple over list? |
| 10 | Classify the Python accessing Elements in a tuples. |
| 11 | Point out the methods used in tuples. |
| 12 | How a tuple is iterated? Explain with an example. |
| 13 | Explain how tuples are used as return values? |
| 14 | Define dictionary with an example. |
| 15 | What are the properties of dictionary keys? |
| 16 | Can you use the addition assignment operator, +=, with two lists? What is the result? |
| 17 | Perform the bubble sort on the elements 23,78,45,8,32,56. |
| 18 | Compose an example on insertion sort. |
| 19 | What is the use of all(), any(), cmp() and sorted() in dictionary? |
| 20 | Differentiate between tuples and dictionaries. |
| 0 | (ii) Write a python program to concatenate two lists |
| 1 | (i) What is python List ?Describe the List usage with suitable examples, ii) give example for the hetrogenuous List |
| 2 | Describe the following a) Creating the List,b) Accessing values, c) Updating, d) Deleting the List elements |
| 3 | (i)Explain the basic List Operations in detail with necessary programs, ii) Write a python program to multiply two matrices |
| 4 | i) Discuss Python List Methods with examples (ii) Why it is necessary to have both the functions append and Extend? What is the result of the f |
| 5 | (i) Illustrate List Comprehension wwiwthws.uVitiadbylaertehxipamlups.lceosm |
| 6 | (i)What is a Python Tuple? What are the Advantages of Tuple over List?,ii) Tuples are immuatable? Explain with examples. |
| 7 | Illustrate the ways of creating the tuple and the tuple assigment with suitable programs |
| 8 | What are the accessing elements in a tuple? Explain With suitable programs |
| 9 | (i)Explain the basic Tuple Operations with examples (ii)Write a program to check whether an element belongs to the tuple My_tuple =('p','y'.'t','h', |
| 10 | (i) Describe the built in functions with tuples, ii) Write a program about max(),min(),and sorted methods in tuple |
| 11 | (i)Discuss a) Tuples as return values, var length argument tuples, iii) write a program to illustrate comparison operators in tuple |
| 12 | A polygon can be represented by a list of (x, y) pairs where each pair is a tuple: [ (x1, y1), (x2, y2), (x3, y3) , ? (xn, yn)]. Write a recursive fun |
| 13 | (i)Explain the properties of Dictionary keys with examples,ii) Illustrate the python Dictionary comprehension with examples |
| 14 | Write a python program named Weather that is passed a dictionary of daily temperatures , and returns the average temperature over the Weekend for th |
| 3 | Write a program to catch a Divide by zero exception. Add a finally block too-Hash of any given file |
| 1 | Point out different modes of file opening |
| 2 | Define the access modes |
| 3 | Distinguish between files and modules. |
| 4 | Define read and write file. |
| 5 | Describe renaming and delete. |
| 6 | Discover the format operator available in files. |
| 7 | Explain with example the need forwewxcwe.pVtiiodnysa.rthiplus.com |
| 8 | Explain built in exceptions |
| 9 | Difference between built in exceptions and handling exception |
| 10 | Write a program towrite a data in? a file for both write and append modes |
| 11 | How to import statements? |
| 12 | Express about namespace and scoping. |
| 13 | Difference between global and local. |
| 14 | Identify what are the packages in python |
| 15 | Examine buffering. |
| 16 | Discuss File.isatty[]. |
| 17 | Discover except Clause with Multiple Exceptions. |
| 18 | Differentiate mutable. |
| 19 | Analyze the object as return values. |
| 20 | Describe built ? in class attribute. |
| 1 | Write a Python program to demonstrate the file I/O operations |
| 2 | Discuss with suitable examples-Close File-Writing to a File |
| 4 | Describe in detail about Exception with Arguments-User defined Exceptions |
| 5 | Explain with example of closing a file-Syntax for reading from a File |
| 6 | Structure Renaming a file- Files Related Methods |
| 7 | i). Describe the import Statements |
| 8 | Describe in detail locating modules |
| 9 | Identify the various methods used to delete the elements from the dictionary |
| 10 | Describe in detail exception handlwinwg ww.iVthidsyamarpthleippluros.gcroamm |
| 11 | Write a program to find the one?s complement of binary number using file. |
| 12 | Write a program to display a pyramid |
| 13 | Write a program to find the number of instances of different digits in a given number |
| 14 | Describe in detail printing to the screen. |
| 1 | Generalize a case study on the getting the students mark statements and analysis with exception handling |
| 2 | write a program to find a number list using file handling |
| 3 | Analyze the university result of various colleges in department wise using read and write file |
| 4 | Measure to read random numbers upto 75 and display even and odd numbers with two different files. |