0% found this document useful (0 votes)
12 views1 page

IBsc(CS) FirstInternal CProgramming Questionpaper(Even)

The document is an internal test paper for a C programming course at NKR Arts and Science College for Women, focusing on various programming concepts. It includes multiple-choice questions, short notes, and detailed discussion prompts regarding control statements, loops, and arrays in C. The test is structured into three parts with a total of 50 marks, scheduled for February 19, 2025.

Uploaded by

pmanimegalai123
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)
12 views1 page

IBsc(CS) FirstInternal CProgramming Questionpaper(Even)

The document is an internal test paper for a C programming course at NKR Arts and Science College for Women, focusing on various programming concepts. It includes multiple-choice questions, short notes, and detailed discussion prompts regarding control statements, loops, and arrays in C. The test is structured into three parts with a total of 50 marks, scheduled for February 19, 2025.

Uploaded by

pmanimegalai123
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/ 1

NKR ARTS AND SCIENCE COLLEGE FOR a) dataType arrayName[size];

WOMEN, NAMAKKAL b) array dataType[size];


DEPARTMENT OF COMPUTER SCIENCE
c) dataType[size] arrayName;
INTERNAL TEST- I
‘C’ PROGRAMMING d) arrayName[size] dataType;

Class: II Bsc(CS) Maximum: 50 Marks PART B (4x5=20 marks)


Date: 19-02-2025 Time: 2 hours
Answer All Questions
11. Write short notes on rules for switch statement.
PART A (10x1=10 marks)
12. Write the difference between While and Do While.
Answer ALL Questions
13. Briefly write about jump statement.

1) Switch statement accepts 14. How will you declare One Dimensional array?
a) Int b) char c)long d)All of the above
PART C (10x2=20 marks)
2) If switch feature is used, then Answer ALL Questions
a) Default case must be present
b) Default case, if used, should be the last case 15. Discuss in detail about decision making statements of
c) Default case, if used, can be placed anywhere ‘C’.
d) None of the above
16. Explain in detail about For loop Statement.
3) Which loop is guaranteed to execute at least one time?

a) for b) while c) do while d) None of the above

4) A labeled statement consist of an identifier followed by


a) ; b) : c) , d) =

5) do-while loop terminates when conditional expression


returns?
a) One b) Zero c) Non – zero d) None of the above

6) The continue statment cannot be used with ________


a) for b) while c) do while d) switch

7) Loops in C Language are implemented using?

a) While Block b) For Block

c) Do While Block d) All the above

8) Array is a _________ data structure.

a) Non-linear c) Primary
b) Linear d) Data type

9) Which of the following statement is correct about the


array?

a. In the array, users can only allocate the memory at the


run time.
b. In the array, users can only allocate the memory at the
compile time.
c. The array is a primitive and non-linear data structure
that only stores a similar data type.
d. All of the these

10. How is an array declared in C?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy