#2
| |||
| |||
Re: BSc 1st sem past year question paper
This is the Panjab University BSc (IT) 1st sem past year question paper: Section - A Q1) (15 x 2 = 30) a) What are keywords & Data type qualifiers in C? b) Differentiate between the arguments within the scanf function & the printf function? c) Explain the difference between L value and R value. d) Write briefly the areas of application of for statement. e) Describe life time and visibility features of static variable. f) Give syntax of one dimensional array. g) How will you convert the value of a character into ASCII? h) What happens if an integer number is subtracted and added to the pointer? i) Differentiate between the union declaration and structure declaration? j) What are the structure tag and structure template? k) Why the parameters given within a function prototype are called “dummy” parameters? l) Explain the significance of subscript in an array? m) List all the input and output functions of an array. n) Can a pointer variable appear on the left side of an assignment operator? o) What are the restrictions on processing of enumerated data type? Section - B (9 x 5 = 45) Q2) How comments in C program are given? Explain with an example. What is the purpose of comments? Q3) Explain the application of the printf function in displaying float and double types data with example. Q4) Explain the difference between the operation of ceiling function and the floor function with examples. Q5) What is a conditional operator? Give its syntax and application with an example. Why the expressions in the conditional operator are called ternary? Q6) Write a function digit to find all numbers between 10 & 1000 which behave in the following way: Number 12; square 144; reverse 21 ; square 441(which is reverse of 144). Q7) Write a program to calculate the total number of elements of a multidimensional array? Q8) Write a function trace to sum the diagonal elements of a square matrix. Q9) Write a function readalpha, sortalpha & printalpha to read, sort and print respectively words in an ascending order. Q10) What is the difference between an array of pointers to objects and pointers to arrays of objects? Q11) Explain the method of passing a structure by value as an argument to a function with an example of prototype function declaration and function call. Q12) Write a C program to compute the size of union. Q13) Write a C program to construct a pay bill structure of an employee in an organization. njab-University-BSc-IT-1st-sem-past-year-question-paper |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AFMC Last Year Question Paper | Swati Manekar | Main Forum | 2 | 5th March 2018 04:46 PM |
Last Year Question Paper Of CTET | Unregistered | Main Forum | 1 | 22nd October 2016 05:50 PM |
RGPV 1st Year Question Paper | Unregistered | Main Forum | 1 | 22nd October 2016 08:57 AM |
BHU PMT Last Year Question Paper | Unregistered | Main Forum | 1 | 18th October 2016 08:43 AM |
WBJEE Last Year Question Paper With Solution | Unregistered | Main Forum | 1 | 7th October 2016 12:57 PM |
VITEEE Last Year Question Paper | Unregistered | Main Forum | 1 | 6th October 2016 04:29 PM |
CMAT Last Year Question Paper PDF | Unregistered | Main Forum | 1 | 1st October 2016 04:22 PM |
Last Year Question Paper Of NLU Delhi | Unregistered | Main Forum | 1 | 30th September 2016 01:16 PM |
MP PMT Last Year Question Paper | Unregistered | Main Forum | 1 | 29th September 2016 03:03 PM |
Hexaware past year placement question papers | Unregistered | Main Forum | 1 | 10th November 2015 06:30 PM |
Past year question papers of Mumbai University of B.Com 2nd year in PDF format | Unregistered | Main Forum | 1 | 10th November 2015 06:03 PM |
Past year placement question papers of ITC paper products | Unregistered | Main Forum | 1 | 7th November 2015 11:51 AM |
Previous Year CA CPT Question Paper | Unregistered | Main Forum | 0 | 16th July 2015 05:31 PM |
Last Year Question Paper Of AFCAT | Unregistered | Main Forum | 0 | 10th July 2015 10:58 AM |
Previous Year Question Paper Of BHU UET | Unregistered | Main Forum | 0 | 9th July 2015 03:05 PM |
Last Year COMEDK Question Paper | Unregistered | Main Forum | 0 | 9th July 2015 02:13 PM |
AFMC MBBS past years question paper | Unregistered | Main Forum | 1 | 11th October 2014 02:18 PM |
IP University MBA past year question paper | Unregistered | Main Forum | 1 | 11th October 2014 01:30 PM |
LDC SSC Question Paper Previous Year | abinh | Main Forum | 1 | 2nd November 2012 03:46 PM |
SSC LDC Previous Year Question Paper | parvathi | Main Forum | 1 | 14th July 2012 03:08 PM |
|