C Programs for Mid Semester Examination 19-20
- Get link
- X
- Other Apps
Practical Set 1, 2 and 3.(for examination)
Even Academic Semester (2019-20)
Practical
List
Subject: Introductory Course in
Computer Programming (1ET1000110)
[F.Y.B.Tech.:
CE/IT/ICT]
PRACTICAL SET-1:
• Write a program to print HELLO FRIENDS!
• Write a program that reads two nos. from keyboard and perform
addition, subtraction, multiplication, division and modulo.
• Write a C program to use symbolic constant.(area of circle)
• Write
a C Program to swap two numbers.
• Given
three values, write a C program to read three values from keyboard and print
out the largest of them without using if statement.
PRACTICAL SET-2:
•
Write a program to select & print the largest of the three
nos. using Nested-If-Else statement.
•
Write menu driven C program for simple calculator.
•
The distance between two cities (In KM) is input through key
board. Write a program to convert and print this distance in meters, feet,
inches & centimeters.
•
Write a program to find sum of all integers greater than 100 &
less than 200 and are divisible by 5.
PRACTICAL SET-3:
•
Write a program to display the sum of first 10 natural numbers.
•
Write a program to find sum of first N odd and even numbers.
•
Write a C program to find the factorial of given number.
•
Write a program to check whether the given number is prime or not.
•
Write a C program to check whether given Number is Palindrome or
not.
•
Write a C program to read a positive integer N and check whether
it is Armstrong or not.
•
Write a C program to check whether the number is perfect number or
not.
•
Write a C program for Fibonacci Series ( 1 1 2 3 5 8)
•
Program to print Patterns. Any simple pattern will be asked
using nested loop.
PRACTICAL SET-4:
•
Write a C Program to make sum of 10 numbers using an Array.
•
Write a C Program to find maximum of given array elements.
•
Write a C Program to sort array elements in ascending and
descending order.
•
Write a C Program to make summation of two 3*3 matrixes.
•
Write
a C Program to make matrix multiplication of two 3*3 matrixes.
PRACTICAL SET-5:
•
Write a program to read the string from keyboard and count its
total length.
•
Write a C program to check whether the given String is Palindrome
or not.
•
Write a C program to concate (append) one string after another.
Display the resultant concatenated string.
PRACTICAL SET-6:
•
Write a function program to add first N numbers.
•
Write a function prime that return 1 if it‘s argument is prime and
return 0 if not.
•
Write a function which accepts a string and returns the length of
string
Write a program to find factorial of a number using recursion. - Get link
- X
- Other Apps
Popular posts from this blog
Structure Notes
History, Basic Structure, C Token, Data Type, operators, printf() and scanf()
The C Language is developed for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc. C programming is considered as the base for other programming languages, that is why it is known as mother language. It can be defined by the following ways: Mother language System programming language Procedure-oriented programming language Structured programming language Mid-level programming language History of C Language: C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in U.S.A. Dennis Ritchie is known as the founder of C language . It was developed to overcome the problems of previous languages such as B, BCPL etc. Initially, C language was developed to be used in UNIX operating system . It inherits many features of previous languages such as B and BCPL General Structure...
Comments
Post a Comment