0% found this document useful (0 votes)
11 views1 page

CA2 Assignment ES_CS201

The document is an assignment for the Department of Information Technology at B.P. Poddar Institute of Management and Technology, consisting of 20 questions related to programming concepts and C language. Each question is worth 5 marks and covers topics such as algorithms, flowcharts, operators, and programming constructs. The assignment aims to assess students' understanding of various programming principles and their application in C language.

Uploaded by

papercloudds
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)
11 views1 page

CA2 Assignment ES_CS201

The document is an assignment for the Department of Information Technology at B.P. Poddar Institute of Management and Technology, consisting of 20 questions related to programming concepts and C language. Each question is worth 5 marks and covers topics such as algorithms, flowcharts, operators, and programming constructs. The assignment aims to assess students' understanding of various programming principles and their application in C language.

Uploaded by

papercloudds
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/ 1

B.P.

Poddar Institute of Management and Technology


Department of Information Technology

CA2 Assignment
ES-CS201 2024-25

Each questions carry 5 marks.

1. Compare algorithm and flowchart with proper examples.


2. State the basic features of any structured programming language.
3. Explain unary operator with examples.
4. Differentiate between do-while and while statements with suitable example.
5. Differentiate between brakes and continue.
6. What do mean by pseudo-code? What is the difference between pseudo-code and flowchart?
7. What do you mean by algorithm? Design a flow chart to find the prime number.
8. Distinguish between assemblers and compiler.
9. What do you mean by formatted input and output statements in C language? Give examples.
10. What do you mean by the scope of variable? With proper example show various scope of variables.
11. State the language features provided by the C pre-processor.
12. What is ternary operator? Is any such operator available in C language? If yes, explain with a suitable example.
13. Write a code segment in C language using for construct to implement infinite loop.
14. Convert a C program to implement a basic calculator code written using switch-case to using if-else-if ladder.
15. Discuss the 2’s compliment number system.
16. What do you mean by BCD and ASCII?
17. What are the basic difference between source program and object program?
18. Compare and contrast among different storage classes.
19. Write a short note on a) Bit-wise operators b) switch-case statements c) Type casting in C d) ASCII code. e)
multidimensional Array.
20. Write a C program to convert a decimal number to binary.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy