Friday, October 13, 2023

OOPs

 I M.Sc. Computer Science

I Semester


Object Oriented Analysis and Design & C++


II Internal


Total Marks:20


Part – A (2 x 1 = 2 Marks)


Choose the Correct Answer:

1. Which of the following is used for comments in C++?

(a) /* comment */ (b) // comment */ (c) // comment (d) both // comment or

/* comment */

2. Which of the following is a correct identifier in C++?

(a) VAR_1234 (b) $var_name (c) 7VARNAME (d) 7var_name


Part – B (2 x 5 = 10 Marks)

Answer ALL questions, choosing either (a) or (b)

3) (a) What are the different data types present in C++?


(OR)


(b) What are references in C++?

4) a) What do you mean by Call by Value and Call by Reference? 


(OR)


b) Define token in C++


Part – C (1 x 8 = 8 Marks)

Answer ALL questions, choosing either (a) or (b)

5) a) What is the difference between C and C++? 


(OR)

b) What is the difference between struct and class?

Problem Solving Techniques

 I B.Sc. Computer Science

I Semester


Foundation Course – Problem Solving Techniques


II Internal


Total Marks:20


Part – A (2 x 1 = 2 Marks)


Choose the Correct Answer:

1. Initial stage of the programming process

(a) writing (b) testing (c) trouble shooting (d) Debugging

2. To compare 6 to both 4 and 8 would instead be written as:

(a) 6>4 (b) 6>8 (c) 6<=8 (d) 6>4 && 6>8


Part – B (2 x 5 = 10 Marks)

Answer ALL questions, choosing either (a) or (b)

3) (a) Explaining the Programming Life Cycle


(OR)


(b) What are the different comments programming languages

4) a) What are the relational operators in programming languages?


(OR)

b) Define a logical operator to show the truth table


Part – C (1 x 8 = 8 Marks)

Answer ALL questions, choosing either (a) or (b)

5) a) Any 4 Advantages and Disadvantages in Modular Programming?


(OR)


b) Explain about the control structures in programming languages?

OOPs

 I M.Sc. Computer Science I Semester Object Oriented Analysis and Design & C++ II Internal Total Marks:20 Part – A (2 x 1 = 2 Marks)...