0% found this document useful (0 votes)
3 views

Just Pass Ques

Uploaded by

itsmesabari0003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Just Pass Ques

Uploaded by

itsmesabari0003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Department of Computer Science And Engineering

Unit I
16- Mark Questions

1. What is algorithm? Explain about building blocks of algorithm.


2. Explain in detail about flowchart and pseudocode with an example.
3. Explain simple strategies for developing an algorithm.
4. Discuss about Tower of Hanoi problem.
5. Write algorithm, flowchart and pseudocode for the following:
i) Minimum in a list
ii) Insert a card in a list of sorted cards.

Two Mark Questions

1. Define computer
2. Compare algorithm, flowchart, and Pseudocode
3. What are the algorithmic problem solving techniques?
4. What you meant by programming language? List out any five programming languages.
5. List out basic units of computer

Unit II
16- Mark Questions

1. Write a short note on data types of python.


2. Explain about operators of python.
3. Explain about briefly about operator precedence with an example.
4. Write a program in python for the following:
i) Exchange the values of two variables
ii) Circulate the values of n variables
iii) Distance between two points

Two Mark Questions

1. Differentiate between Interpreter and Interactive modes.


2. How can you give comments in python?
3. Write the rules for declaring a variable.
4. What is an expression
5. How to convert one datatype into another datatype.
Unit III
16- Mark Questions

1. With an example explain about various conditional statements in Python


2. With an example explain about various control statements in Python
3. List out various String functions and its methods.
4. Explain about the elements of user defined functions with an example.
5. Write a program in python for the following:
i) Linear search
ii) Binary search

Two Mark Questions

1. Differentiate between break, continue and pass.


2. Define Local and global scope.
3. List out various String slicing operations.
4. Whether string is immutable. Justify your answer.
5. What is function composition?

Unit IV
16- Mark Questions

1. With an example explain about List and its operations


2. With an example explain about Dictionary and its operations.
3. Write a python program in python for sorting a set of numbers
4. Write a python program in python for creating student mark statement
5. Write a python program in python for preparing Retail bill.

Two Mark Questions

1. How can you declare a array in python?


2. What is tuple assignment?
3. List out Tuple operations.
4. Differentiate between List, Tuple and Dictionary.
5. How can create a Tuple.

Unit V
16- Mark Questions

1. How can you read and write content in a file.


2. Briefly explain about Exception Handling in python.
3. How can you create a module? Give an example.
4. How can you create a package? Give an example.
5. Write a program in python for the following:
i) Word count
ii) Copy file

Two Mark Questions

1. Differentiate between error and exception.


2. List out Types of error.
3. Define Format operator.
4. Differentiate between Text and Binary files.
5. What is command line argument?

You might also like