0% found this document useful (0 votes)
43 views

Time: 60 Minutes Record: 10 Skill Test: 20 Total Marks: 30

This document contains a practical question bank for the subject "Fundamentals of C" for the first year B.Com (Computers & Computer Applications) students from the Faculty of Commerce at Oman University. It contains 32 questions ranging from basic C programming concepts like finding the largest of 3 numbers, Armstrong number, matrix operations to more advanced concepts like structures, unions, recursion, functions etc. Students will be given 60 minutes to attempt 10 questions carrying a total of 30 marks with 10 marks for attempted questions and 20 marks for skill test.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Time: 60 Minutes Record: 10 Skill Test: 20 Total Marks: 30

This document contains a practical question bank for the subject "Fundamentals of C" for the first year B.Com (Computers & Computer Applications) students from the Faculty of Commerce at Oman University. It contains 32 questions ranging from basic C programming concepts like finding the largest of 3 numbers, Armstrong number, matrix operations to more advanced concepts like structures, unions, recursion, functions etc. Students will be given 60 minutes to attempt 10 questions carrying a total of 30 marks with 10 marks for attempted questions and 20 marks for skill test.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Lab - Practical Question Bank

FACULTY OF COMMERCE O!MA"#A U"#$ER!#TY


----------------------------------------------------------------------------------
B.Com (Computers & Computer Applications) I year W.E.F.2009-10
FU"%AME"TAL! OF &C'
Time: 60 Minutes Record : 10
Skill Test : 20
Total Marks : 30
() Write a C program to find the largest of 3 numbers.
*) Write a C program to find the sum of the first ! e"en numbers and calculate the
s#uare of the sum.
+) Write a C program to find the total and a"erage of the marks gi"en in an arra$.
,) Write a C program %hether the gi"en number is &rmstrong number or not.
-) Write a C program %hether the gi"en number is 'erfect number or not.
.) Write a C program for matri( multiplication.
/) Write a C program for matri( addition
0) Write a C program for matri( subtraction
1) Write a C program to find the e(ponential series of
) * ) *
+
,+- ) *
3
,3- ) .....)*
n
,n-
(2. Write a C program to find the ma(imum of 3 numbers using functions
(() Calculate grades of / students from 3 tests using arra$s.
(*) Write a C program to Trace a matri(
(+) Write a C program to find string palindrome %ithout using String functions
(,) Write a C program to demonstrate Structures using student information.
(-) Write a C program to calculate the 0ibonacci series of a gi"en number.
(.) Write a C program to transpose the gi"en matri(.
(/) Write a C program for demonstrating To%er of 1anoi using Recursion
(0) Write a C program to accept a numbers and generate S#uare root2 cube and
e(ponential "alues.
(1) Write a C program to re"erse the gi"en number and check if the number is
palindrome.
*2) Write a C program to demonstrate the unions using emplo$ee information.
*() Write a C program for counting the number of %ords2 lines2 special characters in a
gi"en te(t.
**) Write a C program to find the S#uare root of a gi"en number.
*+) Write a C program to find the area and circumference of a circle.
*,) Write a C program to find the area 3 perimeter of a rectangle.
*-) Write a C program to con"ert the gi"en decimal number to binar$2 4ctal and
1e(adecimal.
*.) Write a C program to con"ert the gi"en temperature from Centigrade to 0ahrenheit.
*/) Write a C program to s%ap + numbers using 3
rd
"ariable.
*0) Write a C program to s%ap + numbers %ithout using 3
rd
"ariable.

*1) Write a C program to add2 subtract2 multipl$ and di"ide t%o numbers using
functions.
+2) Write a C program to generate prime numbers till the gi"en number.
+() Write a C program to generate the 'ascal Triangle as


+
3 3
5 6 6
+*) Write a C program to displa$ the gi"en amount in %ord format.
6g: Rs. +5!,7 as T%o hundred 0ort$ fi"e
++) Write a C program to sort the data.
+,) Write a C program to search the gi"en number in an arra$ using binar$ search.
+-) Write a C program to calculate the student total and a"erage marks of the gi"en
sub8ects using structures.
+.) Write a C program to demonstrate the string functions.
+/) Write a C program to find the roots of the #uadratic e#uation.
+0) Write a C program to find the number of da$s in a month using enumerated data
t$pes.
+1) Write a C program to demonstrate Math functions.
,2) Write a C program to calculate factorial using recursi"e function.
,() Write a C program to con"ert from one base to another base in the number s$stem.
,*) Write a C program to generate 0ibonacci numbers using recursion.
,+) Write a C program to generate a multiplication table.
,,) Write a C program to find the sum of / natural numbers.
,-) Write a C program to find the 9C: of t%o integer "alues.
,.) Write a C program to e"aluate the pol$nomial sho%n as
3*
+
) !*
+
) 6 if (;!
,/) Write a C program to determine if the $ear is a leap $ear.
,0) Write a C program to demonstrate passing structures to functions.
,1) Write a C program to demonstrate call b$ "alue and call b$ reference.
-2) Write a C program to calculate the total and a"erage of marks using function.
<<<<<
+

You might also like