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

Sri Medha V Degree College: Bcom 3 SEM Programing With C

The document contains a practice test with multiple choice and fill-in-the-blank questions about the C programming language. It asks about logical operators, variable declarations, data types, function pointers, and more. It also has short answer questions about structures, functions, pointers, loops, and a program to print a student mark list.

Uploaded by

Savari Raj
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)
220 views2 pages

Sri Medha V Degree College: Bcom 3 SEM Programing With C

The document contains a practice test with multiple choice and fill-in-the-blank questions about the C programming language. It asks about logical operators, variable declarations, data types, function pointers, and more. It also has short answer questions about structures, functions, pointers, loops, and a program to print a student mark list.

Uploaded by

Savari Raj
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

SRI MEDHA V DEGREE COLLEGE

BCOM 3rd SEM Programing with C


10 X 1/2=5
Choose the Best Answer to a Question 
1) Which of the following is a logical OR operator?
A - & B - && C - || D - None of the above
2) Which of the following is not a valid variable name declaration?
A. int __a3; B. int __3a; C int __A3; D. None of the mentioned

3) Which of the following special symbol allowed in a variable name?


A.* (asterisk) B.| (pipeline) C.- (hyphen) D._ (underscore)
4) All keywords in C are in ____________
A. LowerCase letters B. UpperCase letters C. CamelCase letters
D. None of the mentioned

5) Which of the following Data type to support the current Sentence “SRMV College”
A.Character B.Integer C.Float D.enum

6) For which of the following, “PI++;” code will fail?


a.#define b. har *PI = “A”; c.  float PI = 3.14; d. none of the Mentioned
7) Variable name resolution (number of significant characters for the uniqueness of
variable) depends on ___________
a) Compiler and linker implementations b) Assemblers and loaders implementations
c) C language d) None of the mentioned
8) Which of the following is a correct syntax to pass a Function Pointer as an argument?
a) void pass(int (*fptr)(int, float, char)){} b) void pass(*fptr(int, float,
char)){}
c) void pass(int (*fptr)){} d) void pass(*fptr){}
9) The format identifier ‘%u’ is also used for _____ data type?
A. char B. int C. float D. double
10) Which of the following is not possible in C?
a) Array of function pointer b) Returning a function pointer
c) Comparison of function pointer d) None of the mentioned
10 X 1/2=5
Fill In the Blanks with Suitable Answers:
1) ________ Year C was Developed.
2) ________ Group is Developed in C.
3) ____ And _____is the full form of COBOL & FORTRAN.
4) ________ is the Full Form of BASIC.
5) _____ He is the Inventor of C Language.
6) In C language for Checking Multiple Condition at a time____ Operators Will Use.
7) _______ is the Full Form of BCPL.
8) The Operating Systems is the most Common type of ______ Software.
9) _____ He is the Inventor of Basic.
10) ______& ______ is Types of Application Software.
5 X 1=5
Answer Any One Of The Following Questions:
1) What is Structure?
2) Explain about Functions and Types.
3) Write Short Notes for Pointers.
4) Write Short Notes for Looping with Example.
5) Write a Program To Print Student Mark List in that to read (Rollno, Name, Dept, m1,
m2, m3) and to Find Total, Average, Result, Geade of the Student.

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