Information Technology > EXAM > Introduction to Programming (All)
Introduction to Programming Sample Question Paper Note: Q.No. 1 is compulsory, attempt one question from each unit. Q. 1. a). What is an algorithm? 2.5 X10 b) What do you mean by Program? Write a ... small code for any program. c). What is the difference between while and do while loop. d). What is the use of getchar and putchar. e) Explain break and continue statements. f) What is an array? g) What is the difference between structure and union. h) What is a pointer? i) Explain difference between variables and constants. j) What is a static variable? Unit-1 Q. 2. Design an algorithm as well as flowchart for finding out largest number out of three given numbers. 12.5 Q 3. Explain different types of programming languages. 12.5 Unit-2 Q4. What is a data type? Explain different data types in detail with examples. 12.5 Q 5. a) Write a program to check whether a given number is even or odd. 6.5 b) Explain selection statements in C. 6 Unit-3 Q6. What is a loop? Explain in detail with example. 12.5 Q 7. Write a program to multiply two matrices. 12.5 Unit-4 Q. 8. Write a program to swap two values using call by value and call by reference. 12.5 Q.9. Write short notes on: a) Passing arrays as arguments 6.5 b) File Handling 6 [Show More]
Last updated: 3 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 09, 2020
Number of pages
2
Written in
All
This document has been written for:
Uploaded
Sep 09, 2020
Downloads
0
Views
128
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·