0% found this document useful (0 votes)
20 views

c pro questions

Tq

Uploaded by

Maha Lakshmi
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)
20 views

c pro questions

Tq

Uploaded by

Maha Lakshmi
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/ 3

ANNAMALAI UNIVERSITY

AFFILIATED COLLEGES

FOR ALL THE SEMESTERS IN UG AND PG PROGRAMMES

[November 2023 ONWARDS]


Bloom’s Taxonomy - Questions Conforming to Levels K1 to K6

Programme: B.Sc Artificial Intelligence Year: NOV-2023 Semester: I


Course Code: 23UAICC13 Course Name: PROGRAMMING FOR PROBLEM SOLVING
Time: 3 Hrs. Max.Marks:75
Part-A Marks: (10x1=10)
(Answer ALL Questions)

1. Who is the father of C language?


a. James Gosling b. Dennis Ritchie c. Ramus Lerdorf d. Stove jobs
2. The format identifier ‘%i’ is also used for…….. Data types?
a. Char b. int c. Float d. Double
3. The two operators && and || are:
a. Arithmetic b. Logical c. Rational
4. How is an array initialized in C language?
a. int a[3] ={1,2,3}; b. int a={1,2,3}; c. int a(3)={1,2,3};
5. Which is the following is an exit controlled loop?
a. while loop b. for loop c. do while loop d. none of these
6. What is the size of the int data types in C?
a. 4 b. 1 c.2 d. 8
7. What feature makes C so powerful?
a. easy implementation b. reusing old code c. easy memory management
8. What will result of num variable after execution of the following statements?
a. 3 b. 5 c. 11 d. 8
9. How to declare a double pointer in C?
a. int* value b. int** value c. int& value d. int&&value
10. How is the 3rd elements in an array accessed based on pointer notations?
a. *a+3 b.*(a+3) c.*(* a+3) d. &(a+3)

Part-B Marks: (5x7=35)


(Answer ALL Questions)

11. (A) Define variables. What are the conditions to define a variables?
Or
11. (B) Define constants. What are the constants available in C?
12. (A) what is meant by operators? List the types of operators in C and Explain.
or
12. (B) Describe in brief about formatted I/O functions

13. (A) what is condition statement and explain the types of if statements?
or
13. (B) Explain brief about switch statements.
Or
14. (A) what is array? How its work explain.
Or
14. (B) Explain about the Multi-dimensional array
Or
15. (A) Define User defined functions and explain about return value and their types.
or
15. (B) Explain about the recursion functions

Part-C Marks: (3x10=30)


(Answer any THREE Questions)
16. Explain about the structure of C?
17. What is meant by expression? Explain the arithmetic expression, evaluation and precedence.
18. Find the array program in matrix along with its row and column position.
19. Explain the three types array and there difference
20. Explain the declarations and initialization of pointers in C?

********

You might also like