What is software? Explain different types of software.
What is pseudocode? Explain with example ,how it is used as a problem
solving tool
What is an Algorithm? Write an algorithm to find the largest of 3 numbers
What are basic data types available in „C‟?
Define the term with example: Variable, Keyword, Constant, Operator, Identifier
Write a C program to calculate sum of 1 to 10 numbers
Write an algorithm for to check largest number from three numbers also draw its flowchart
Explain the need of studying Programming languages
List all conditional control statements used in C. Explain any two with syntax
and example
Write a C program to find the biggest of three numbers
Explain switch statement with syntax and example
List all conditional control statements used in C. Explain any two with syntax and example.
Explain with syntax ,if, if-else and nested if-else statements in „C‟ program
Explain Number System. State its use. Which Number System follows by Computer?
Show how break and continue statements are used in a C program, with
example
Write a program in C language to do simple operations like
addition, subtraction, multiplication and division. Use switch statement in your
program
Write a C program to copy the contents of one file into another file using file handling functions.
What is array ? Explain the declaration and initialization of one dimensional
and two dimensional array with an example
Develop a C program to calculate addition of two 3X3 array
Define a string. Explain any 4 string library functions with syntax and
example
Define string. List out all string manipulation function. Explain all four with
example
Write a C Program to implement string copy operation STRCOPY(str1,str2)
that copies string str1 to another string str2 .
State the difference between while loop and do..while loop with suitable example
Define Operating System and List the features of Operating System. Give the names of Popular
Operating Systems
What is function ? Explain the difference between user defined and library
functions
Explain function call, function definition and function prototype with
examples
Explain two categories/types of argument passing techniques, with examples
OR
Differentiate between call by value and call by reference with examples
What is function? Explain different classification of user defined functions
based on parameter passing and return type with examples
What is recursion? Write a C program to find the factorial of a number using recursion.
What is the file and steps in processing a file? Write the basic file operations and file opening modes.
C program to print elements of array using pointer
#include <stdio.h>
int main() {
int arr[] = {1, 2, 3, 4, 5};
int *ptr = arr;
int i;
printf("Elements of the array are: ");
for (i = 0; i < 5; i++) {
printf("%d ", *(ptr + i));
}
printf("\n");
return 0;
}
Write a c program to create structure for student database rollnumber, name and marks. Accept
and display information for 5 students using structure.
Write a program in c language that defines the structure for the book entities, Book name, price, and pages.
Define Pointer. State the use of Pointer. Develop a program to print elements of array using pointer
Explain call by value and call by reference in detail
Write classification of computers according to type, size, and purpose
Explain in brief the Top-down design approach and bottom-up design approach. Write down the advantages of the
top-down design approach.
Develop a C program to copy the contents of one file into another file using file handling functions. [
Convert binary (11100)2 to hexadecimal
Convert Hexadecima (C2D) l to binary
Convert binary 011001 to octal
Convert decima (244)l to binary
Define recursion.Write a C program to find the factorial of a number using recursion
What is structure? Explain the C syntax of structure declaration with example
Write a C program to maintain a record of „n‟ students details using an array of
structures with four fields(roll no,name,marks,and grade).Assume appropriate data
type for each field. Print the marks of the student given the student name as input.
What is pointer ? Explain how the pointer variable declared and initialized?
Write a C program to swap two numbers using call by address(pointers or
reference) method