Institute of Science and Technology
Bachelor Level / first-semester / Science
Computer Science and Information Technology( CSC110 )
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 8 + 8
Time: 3 Hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.
Attempts any two questions (2 x 10 = 20)
Discuss structure of a C Program with suitable example.
Discuss different types of if statements with example of each. Differentiate if statement with switch statement.
What is structure? How is it different from array? Create a structure student having data members name, roll-number and percentage. Complete the program to display the name of student having percentage greater than or equal to 60.
Attempts any eight questions (8 x 5 = 40)
What is algorithm? How is it different from flow chart?
What is type conversion? Discuss type casting with suitable example.
Discuss increment and decrement operators with example.
Write a program that computes the sum of digits of a given integer number
What is function? Discuss the benefits of using function.
Write a program to find sum and average of 10 integer numbers stored in an array.
Define pointer. Discuss the relationship between pointer and one-dimensional array
Write a program to read and print data stored in a file input.txt.
Why do we need graphics functions? Write a program to draw a circle.