Test 2 - Cpr Oct 2007

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Test 2 - Cpr Oct 2007 as PDF for free.

More details

  • Words: 149
  • Pages: 1
K. K. WAGH POLYTECHNIC, NASHIK - 3. Class Test -1 (Oct – 2007) CLASS: FYIF/FYCM SUB: PROGRAMMING in C (CPR - 9017) Date: 11/10/2007.

TIME: 1 hr. MARKS: 20.

Note: All the questions are compulsory.

Q.1

Attempt any two.

(2*2)

4

1. Give syntax of do-while statement. 2. What is constant? Give any two examples. 3. Enlist different format specifiers.

Q.2

Attempt any two.

(4*2)

8

1. Write a program to find all the leap years from 1901 to 2000. 2. Explain these keywords: goto, continue, break and default. 3. Design a program to generate following output using while loop. * * * * * * Q.3

Attempt any two.

( 4*2)

8

1. Explain: width and format specifiers for float values, && | | operators. 2. Write a program to find entered number is prime or not? 3. Explain: global and local variables, register storage class with examples

Related Documents

Test 2 - Cpr Oct 2007
November 2019 9
Test 2 - Cpr Nov 2007
November 2019 7
2 Oct 2007
November 2019 9
Sample Test 1 - Cpr Jan 2007
November 2019 15
Cpr Pst Mar 2007
November 2019 14