0% found this document useful (1 vote)
785 views2 pages

CP Most Imp Question Paper GTU

This document provides sample questions that may appear on the Basic Computer Programming exam for the GTU Winter 2022 exam for the Computer branch. It includes 6 sections with a variety of question types: Section 1 has short answer questions, Section 2-6 have medium-length answer questions. The questions cover a range of topics related to algorithms and flowcharts, C language syntax, operators, conditional statements, loops, arrays, pointers, functions, structures, unions, files and more. The document is intended to help students prepare for the types of questions that may be included in the upcoming exam.

Uploaded by

Nihar Chaudhari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
785 views2 pages

CP Most Imp Question Paper GTU

This document provides sample questions that may appear on the Basic Computer Programming exam for the GTU Winter 2022 exam for the Computer branch. It includes 6 sections with a variety of question types: Section 1 has short answer questions, Section 2-6 have medium-length answer questions. The questions cover a range of topics related to algorithms and flowcharts, C language syntax, operators, conditional statements, loops, arrays, pointers, functions, structures, unions, files and more. The document is intended to help students prepare for the types of questions that may be included in the upcoming exam.

Uploaded by

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

Prayosha Engineering Classes

MOST IMP PAPER - GTU EXAM - WINTER 2022


SUB: Basic Computer Programming (4310702)
(Computer BRANCH)
Q.1 Answer any seven out of ten 14 marks
1. Different between algorithm and Flow chart.
2. What is keyword? Explain characteristic of C language.
3. Why C is called Middle level language? Explain features of higher and lower level language
4. What is variable? Write rules to declare variable. What is identifier? Write rules to declare identifier.
5. What is compiler? Difference between Compiler and interpreter.
6. Write syntax of printf() and scanf().puts() and putch() putchar() and getchar()
7. Explain Operator available in C.
8. Explain C Header files any 5 with example
9. Give difference between syntax error and run time error.
10. What is Condition Statement? Give the list of Condition statement
11. Explain break, goto and continue statement with example
12. Explain loop available in C. List out the types.
13. Difference between entry control loop and exit control loop
14. What is an array? Characteristic of array .Explain with example.
15. Explain type, advantages and disadvantages of array.
16. Explain void pointer and NULL with example.
17. Deferments between Array vs Pointer
18. Explain use of “ * ” and “&” with example
19. Differentiate Structure and Union
20. Write down difference between array and structure
21. List Out any 10 Math Function Explain any two with Example
22. Explain static variable and Main() function.
23. Explain Static memory allocation vs dynamic memory allocation
24. Give difference between library function and user defined function
25. Explain different file opening mode

Q.2 Medium length answers 14 Marks


1. What is algorithm? Explain with advantages and disadvantages with example
2. What is Flow chart? Explain with advantages and disadvantages with example.
3. Explain various symbol used in Flow chart with symbol and use
4. Write algorithm and draw Flow chart to print maximum number from given three/two number
5. Write algorithm and draw Flow chart to find weather given number is odd or even
6. Write algorithm and draw Flow chart to find area of circle/rectangle
7. Write algorithm and draw Flow chart to find the factorial of given number
8. Write algorithm and draw Flow chart to print addition of even/odd number between 1 to N

N.S.Patel 7600031265 N.K.Patel 9429235711


Prayosha Engineering Classes
Q.3 Medium length answers 14 Marks
1. What is type conversion? Explain its types (Implicit Type Casting) (Explicit Type Casting)
2. Draw and explain Structure of C program.
3. Arithmetic Operators and Relational Operators with example
4. Logical Operators and Assignment Operators with example
5. Increment and Decrement Operators and Conditional Operator with example
6. Bitwise Operators and Special Operators with example
7. Explain If…else…. condition statement with example and draw flowchart
8. Explain If…else….if ladder with example and draw flowchart

Q.4 Medium length answers 14 Marks


1. Explain Nested…if with example and draw flowchart
2. Explain Switch case statement with example.
3. Explain While loop with flow chart and Example.
4. Explain do…while loop with flow chart and Example
5. Explain for loop with flow chart and Example
6. Explain Nesting of for loop with flow chart and Example
7. Explain declaration and initialization of one dimensional array
8. Explain declaration and initialization of Two dimensional array

Q.5 Medium length answers 14 Marks


1. Explain read and write operation in one dimensional numeric array
2. What is pointer? Explain declare and initialize pointers. Advantages and Disadvantages of
Pointer.
3. Explain array of pointers with example
4. Explain pointer to pointer with example
5. What is function? Explain need of function in C ? Advantages of Functions in C
6. Explain recursion with example. Write advantages and disadvantages of recursion.
7. Explain Call by value and Call by reference
8. Explain Elements of user Define Function

Q.6 Medium length answers 14 Marks


1. List out function category and explain any 1 from them with example.
2. List Out 10 String Function and Explain any Five with Example
3. Explain or Difference Actual parameter and formal parameter with Example
4. What is structure ? Explain with example
5. What is Union? Write a program to demonstrate the Concept and use of it
6. What is the purpose of typedef? How typedef is useful in Structure
7. Explain enumerated data type with example
8. Explain File management function with example

N.S.Patel 7600031265 N.K.Patel 9429235711

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy