[go: up one dir, main page]

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

PROGRAMMIN IN C Important Questions (1)

Uploaded by

yash2531955
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)
71 views2 pages

PROGRAMMIN IN C Important Questions (1)

Uploaded by

yash2531955
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

Programming in C Important Questions

UNIT-I

1. Structure of C Program
2. Algorithm, Flow Chart, Pseudocode
a. Area and Perimeter of any 5 polygons
b. Given number even or odd
c. Largest of two numbers
d. Largest of Three numbers
e. Sum of first ‘n’ natural numbers
f. Simple interest
3. Short Notes on
a. printf() and scanf() functions
b. data types
4. C Tokens
5. Precedence and Associativity of Operators in “C” Language.
6. Type conversion
7. Bitwise Operators, Increment and Decrement Operators, Relational and Logical Operators

UNIT-II

1. Various Decision/Conditional/Selection Statements with syntax, flowchart and examples


2. Various Control/Repetitive/Iterative Statements with Syntax, Flowchart and examples.
3. Compare and Contrast between nested if else statement and switch case( ) statements
4. Compare and contrast between control statements.
5. Compare and contrast between break, continue and exit( ) statements.

UNIT-III

1. Define Array. How do you initialize and declare one-dimensional and two-dimensional
array with examples?
2. Addition and Multiplication of two matrices, Transpose of Matrix, and Maximum &
Minimum element of array.
3. Explain atleast five built in functions in strings with the help of an example for each.
4. Write a program for whether given string is a palindrome or not without using string
built-in function.
5. Write programs for all strings without using string built-in functions for
strcpy(), strrev(),strcat(),strlen(),strcmp().
6. List out some string I/O functions with examples.
7. Design a “C” program to number of words, characters and lines in a given string.
8. Design a “C” program to count number of vowels and consonants in a given string.
9. Design a “C” program to number of upper case letters, lower case letters, digits and
special characters in a given string.
UNIT-IV

1. Define function, how you define, declare and initialize function.


2. Various types of functions
3. Various types of functions using return type and arguments
4. Compare and contrast between return vs exit().
5. Define Recursion and its importance
6. Advantages and Disadvantages of Functions.
7. Call by value parameter passing method with Example.
8. Storage Classes with examples.

UNIT-V

10. Sort the given list of numbers using Bubble Sort and Selection Sort 64, 57, 32, 45, 9,
12, 18,70 (logic, debugging program or algorithm)
11. Perform Binary Search on the given list of numbers {4, 18, 29, 35, 44, 59, 65, 98} (logic,
debugging program or algorithm)
12. Compare and Contrast between Linear and Binary Search.

Note: Please Don’t study the Programs for CHATGPT, marks may not be awarded.

Note: Study all those program list which given for Lab Internal and External Exam.

You might also like