0% found this document useful (0 votes)
56 views2 pages

Bca C102 QB01

Bca first year notes

Uploaded by

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

Bca C102 QB01

Bca first year notes

Uploaded by

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

UTTARANCHAL UNIVERSITY

(Established vide Uttaranchal University Act, 2012, Uttarakhand Act No. 11 of 2013)
Arcadia Grant, P. O. Chandanwari, Premnagar, Dehradun, Uttarakhand

Programming in C Questions Bank


Programme -BCA Course Name: -Programming in C

Year/Semester: -1/1 Course code: -BCA-C102

1. What do you understand by the term preprocessor directive?


2. What are the types of looping statements available in C?
3. Why header files are included in ‘C’ programming?
4. Differentiate between formatted and unformatted you input and output
functions?
5. What is the Difference between syntax vs logical error?
6. What is an Algorithm? Write an algorithm to find the largest of 3
numbers?
7. Define flowchart. Explain with an example.
8. What is Token? What are the different types of tokens available in C
language.
9. Write and explain the basic concepts of a C program.
10.What is an operator? List and explain various types of operators.
11.What are the formatted input and output functions. Explain with
examples.
12.What is the purpose of scanf() and printf() statement ?
13.Write a C program to find the largest of three numbers using ternary
operator.
14.List all conditional control statements used in C. Explain any two with
syntax and example.
15.Explain switch statement with syntax and example.
16.Write a “C” program to demonstrate the use of unconditional goto
statement.
17.Explain with syntax, if, if-else and nested if-else statements in „C‟
program?
18.Explain with syntax, the different loops used in “C‟ program.
19.Show how break and continue statements are used in a C program, with
example.
20.What is array? Explain the declaration and initialization of one
dimensional and two-dimensional array with an example.
21.Define string. How string is declared and initialized? Explain string
input/output functions with an example.
22.What is String? how does a string differ from character? Explain with
example.
23.Write a program which uses functions like strcmp(), strcpy()? etc
24.Which header file should you include if you are to develop a function
which can accept variable number of arguments?
25.Write programs for String Reversal & Palindrome check.
26.What do you mean by c programming language? How it discovered?
27.What do you mean by top-down approach bottom-up approach which
programming approach is followed by ‘c’ language?
28.What do you mean by identifiers? give example?
29.What do you mean by error? How many types of error can accour in ‘c’?
explain with example?
30.What is difference between signed, unsigned integer constant, long and
short integer constants? How they differ from ordinary integers?
31.What is the purpose of using void keyword? When is this keyword used?
32.What is the escape sequence? List all the escape sequence character?
33.How many types of statements in ‘c’ explain with example?
34.Evaluate the expression 2+3*3-7+10-5/4+3 using operator precedence?
35.Compare the use of the switch statement with the use of nested if else can
be break statement be included?
36.What do you mean by bitwise operators? Gives example?
37.Describe the precedence and order of evaluation of operations of different
operation?

38.What are the key features of C language or what are the characteristics of
C language?
39.What do you mean by high level, middle level and low-level languages
and give an example for each?
40.What is the difference between variable declaration and variable
definition in C?
41.WAP to draw this patterns.
A 2. A 3.A
AB BB BC
ABC CCC DEF
ABCD DDDD GHIJ

You might also like