P P Savani University SSCS 1010 Introduction of Computer Programming Past Paper (2023) PDF

Summary

This is a past paper for the SSCS 1010 Introduction of Computer Programming course at P P Savani University, from December 2023. The paper contains multiple-choice questions and programming problems related to C programming language concepts.

Full Transcript

## P P SAVANI UNIVERSITY First Semester of BCA / B. Sc. IT Examination December 2023 SSCS 1010 Introduction of Computer Programming Time: 09:00 a.m. To 11:30 a.m. Maximum Marks: 60 ### Instructions: 1. The question paper comprises of two sections. 2. Section I and II must be attempted in separate...

## P P SAVANI UNIVERSITY First Semester of BCA / B. Sc. IT Examination December 2023 SSCS 1010 Introduction of Computer Programming Time: 09:00 a.m. To 11:30 a.m. Maximum Marks: 60 ### Instructions: 1. The question paper comprises of two sections. 2. Section I and II must be attempted in separate answer sheets. 3. Make suitable assumptions and draw neat figures wherever required. 4. Use of scientific calculator is allowed. ### SECTION - 1 | Q-1 | MCQ/Short Question/Fill in the Blanks (Any Five) | [05] | CO | BTL | PO | |---|---|---|---|---|---| | (i) | The C languages consist of **\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_** number of keywords. | | 1 | 2 | 4 | | (ii) | All keywords in C are in | | 1 | 2 | 4 | | | A] Lowercase | | | | | | | B] Upper case | | | | | | | C) Sentence case | | | | | | | D] None of the above | | | | | | (iii) | The C language has been developed by | | 1 | 2 | 3 | | | A] Patrick Naughton | | | | | | | B] Dennis Ritchie | | | | | | | C] Ken Thompson | | | | | | | D] Martin Richards | | | | | | (iv) | What is constant? | | 1 | 2 | 3 | | (v) | Which are relational operator? | | 2 | 4 | 5 | | (vi) | What are major disadvantages of machine code? | | 2 | 4 | 5 | | (vii) | ANSI stand for | | 2 | 3 | 4 | | Q-2 | | [05] | | | | |---|---|---|---|---|---| | (a) | Enlist the features of C | | 1 | 2 | 4 | | (b) | Explain different data types used in C language? | | 1 | 2 | 3 | **OR** | Q-2 | | [05] | | | | |---|---|---|---|---|---| | (a) | Explain in brief structure of C programming? | | 1 | 2 | 4 | | (b) | Explain all escape sequence in C? | | 2 | 4 | 5 | | Q-3 | | [05] | | | | |---|---|---|---|---|---| | (a) | What is variable? What are the rules for defining variables? | | 1 | 2 | 4 | | (b) | Explain formatted and unformatted functions. | | 1 | 3 | 4 | **OR** | Q-3 | | [05] | | | | |---|---|---|---|---|---| | (a) | Differentiate between local variable and global variable? | | 1 | 2 | 3 | | (b) | Explain printf() function with an example | | 2 | 4 | 5 | | Q-4 | Attempt any one. | [05] | | | | |---|---|---|---|---|---| | (i) | Write a C language program to check whether given number is prime or not. | | 1 | 2 | 4 | | (ii) | Write a program to factorial for give number with user define function. | | 1 | 2 | 4 | ### SECTION - II | Q-1 | MCQ/Short Question/Fill in the Blanks (Any Five) | [05] | | | | |---|---|---|---|---|---| | (i) | What is pointer? | | 1 | 2 | 3 | | (ii) | The size of a union is determined by the size of the **\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_** | | 2 | 3 | 6 | | | A] Smallest number in the union | | | | | | | B] Biggest number in the union | | | | | | | C] A & B both | | | | | | | D] none of the above | | | | | | (iii) | What is the use of strcat() function? | | 2 | 4 | 5 | | (iv) | What is recursive function? | | 1 | 2 | 3 | | (v) | What is structure? | | 1 | 2 | 6 | | (vi) | What is use of typedef? | | 2 | 3 | 6 | | (vii) | What do you mean by call by reference? | | 2 | 4 | 5 | | Q-2 | | [05] | | | | |---|---|---|---|---|---| | (a) | Distinguish between Structure and Union. | | 2 | 4 | 5 | | (b) | Differentiate structure and array. | | 2 | 4 | 5 | **OR** | Q-2 | | [05] | | | | |---|---|---|---|---|---| | (a) | Explain all calling methods of User Define Function (UDF). | | 2 | 3 | 6 | | (b) | What is function? how function is defined. | | 2 | 3 | 6 | | Q-3 | | [05] | | | | |---|---|---|---|---|---| | (a) | What is recursion explain with suitable example. | | 1 | 2 | 3 | | (b) | What is array? How to declare array? Explain with suitable example. | | 1 | 2 | 3 | **OR** | Q-3 | | [05] | | | | |---|---|---|---|---|---| | (a) | Explain any 4 string functions with suitable example? | | 2 | 4 | 5 | | (b) | Explain applications of array. | | 2 | 4 | 5 | | Q-4 | Attempt any one. | [05] | | | | |---|---|---|---|---|---| | (i) | Write a C language program to display the largest element in the matrix. | | 2 | 3 | 6 | | (ii) | Write a C language program to count number of lines and words in a file. | | 2 | 3 | 6 | **CO : Course Outcome Number** **BTL : Blooms Taxonomy Level** **Level of Bloom's Revised Taxonomy in Assessment** 1: Remember 4: Analyze 2: Understand 5: Evaluate 3: Apply 6: Create

Use Quizgecko on...
Browser
Browser