Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
47 views

UNIT I Basics of C Programming 12 Marks

The document discusses programming in C as per the MSBTE K-scheme syllabus. It covers 62 questions asked in MSBTE exams on topics like data types, operators, functions, arrays, pointers and more. It also provides algorithms, flowcharts and programs for many questions. The document is a detailed guide to help students prepare for the MSBTE C programming exam.

Uploaded by

chottibacchi333
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

UNIT I Basics of C Programming 12 Marks

The document discusses programming in C as per the MSBTE K-scheme syllabus. It covers 62 questions asked in MSBTE exams on topics like data types, operators, functions, arrays, pointers and more. It also provides algorithms, flowcharts and programs for many questions. The document is a detailed guide to help students prepare for the MSBTE C programming exam.

Uploaded by

chottibacchi333
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

https://shikshamentor.

com/programming-in-c-
for-msbte-k-scheme/
312303 - Programming In ‘C’ (Sem II)
As per MSBTE’s K Scheme
CO / CM / IF / AI / AN / DS

Unit I Basics of ‘C’ Programming Marks - 12

S. N. Exam
MSBTE Board Asked Questions Marks
Year
1. S-22,
List any four keywords used in ‘C’ 2M
W-23
2. Draw flowchart for checking whether given number is positive or
W-23 2M
negative.
3. W-23,
Draw and label different symbols used in flowchart. S-22, 2M
W-19
4. W-23,
Draw flowchart for finding largest number among three
S-22, 4M
numbers.
S-19
5. W-23,
State the use of printf( ) and scanf( ) with suitable example. 4M
S-22
6. W-23,
Write a program to print Fibonacci series starting from 0 and 1. S-22, 6M
W-19
7. Write algorithm and draw flow-chart to print even numbers W-23,
4M
from 1 to 100. OR 1 to 50 W-18
8. List the symbol used in flowchart any four S-23 2M
9. Give the use of Printf() S-23 2M
10. Define algorithm S-23 2M
11. Write a c program among three numbers find largest
S-23 4M
numberamong three
12. Explain use comment in c language S-23 4M
13. Describe use of header files in c language S-23 4M
14. Explain formatted input output function with example S-23 4M
15. Define the terms : i) Flow chart ii) Algorithm. W-22 2M
16. State any four data types used in ‘C’. W-22 2M
17. List logical operators in ‘C’. W-22 2M
18. Draw any two symbols used to construct flow chart. Also
W-22 2M
statetheir use.
19. Explain any four guidelines for preparation of flowchart. W-22 4M
20. Explain data type conversion with example. W-22 4M
21. Explain any two string handling functions with syntax and
W-22 4M
example.
22. Describe scanf() function with its syntax and example W-22 4M
23. Write an algorithm and draw a flowchart to find largest number
W-22 4M
from three numbers.
24. Write syntax and use of PQW ( ) function or header file. S-22 2M
25. Draw flowchart for addition of two numbers. S-22 2M
26. Write an algorithm to find largest of three numbers. S-22 4M
27. Describe the following terms : (i) Keyword (ii) Identifier (iii) S- 22,
Variable W- 19,
4M
(iv) Constant . W-23
28. Write a program to display table of given number (Accept
S-22 4M
number from user).
29. Write a program to sum all the even numbers between 1 to 100. S-22 4M
30. Find the output of the following program : # include < stdio.h>
void main( )
{
W-19 2M
int x = 10, y = 10, v1, v2 ; v1 = x++ ; v2 = ++y ;
printf ("value of v1:%d", v1) ; printf ("value of v2:%d", v2) ;
}
31. State the Relational operators with example. W-19 2M
32. Draw flow chart for addition of two numbers. W-19 2M
33. State the importance of flow chart. W-19 4M
34. Explain conditional operator with example. W-19 4M
35. Write an algorithm to determine the given number is odd or
W-19 4M
even.
36. Write a program to calculate sum of all the odd numbers between
W-19 6M
1 to 20.
37. Draw flowchart for checking whether given number is even or
S-19 2M
Odd
38. List any four keywords used in ‘C’ with their use. S-19 2M
39. W-23,
Write a program to sum all the odd numbers between 1 to 20. 4M
S-19
40. Explain any four bit-wise operator used in ‘C’ with example. S-19 4M
41. Describe generic structure of ‘C’ program. S-19 4M
42. Write a program to accept ten numbers and print average of it. S-19 6M
43. Enlist different format specifiers with its use. S-19 6M
44. Define Algorithm. W-18 2M
45. Give the significance of and header files. W-18 2M
46. Write syntax and use of pow( ) function of header file. W-18 2M
47. Draw and label symbols used in flow chart. W-18 2M
48. W-23,
Explain increment and decrement operator. 4M
W-18
49. Explain conditional operator with example. W-18 4M
50. Write a program to accept the value of year as input from the
W-18 4M
keyboard & print whether it is a leap year or not
5.1 Define type casting. Give any one example. S-18 2M
52. State the use of following symbols used for flowchart drawing :
(i)
S-18 2M
(ii)

53. State the use of printf( ) & scanf( ) with suitable example. S-18 4M
54. Develop a simple ‘C’ program for addition and multiplication of
S-18 4M
two integer numbers.
55. Explain any four library functions under conio.h header file. S-18 4M
56. Explain how formatted input can be obtain, give suitable
S-18 4M
example.
57. Write a program to swap the values of variables a = 10, b = 5
S-18 4M
using function.
58. Design a program to print a message 10 times. S-18 4M
59. Draw a flowchart for checking whether given number is prime or
S-18 4M
not.
60. Implement a program to demonstrate logical AND operator. S-18 4M
61. Develop a program to swap two numbers using pointer and add
S-18 6M
swapped numbers also print their addition.
62. Design a program in C to read the n numbers of values in an
S-18 6M
array and display it in reverse order.

Thank You
https://shikshamentor.com/programming-in-c-for-msbte-k-
scheme/

Visit
https://shikshamentor.com/

You might also like