Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
22 views
3 pages
C Programing
C programming
Uploaded by
soniyashvi23
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save c programing For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
22 views
3 pages
C Programing
C programming
Uploaded by
soniyashvi23
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save c programing For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save c programing For Later
You are on page 1
/ 3
Search
Fullscreen
THE CHARUTAR VIDYA MANDAL UNIVERSITY B.TECH. - SEMESTER 1 FEBRUARY 2023 (REGULAR) EXAMINATION Course Title: Computer Programming with C Course Code: 202000110 Total Printed Pages: 02 Date: 09/02/2023 ‘Time: 10.00 am to 12.30 pm Maximum Marks: 50 Instructions: ‘Attempt al! ouestcns. ‘© Numbers to the right indicat fll marks for each question. ‘© Make suitable assumption if required, do specify the same. Q: 1 (A) Answer the Following. (Each question carries one mark). [10] (What is the function of ALU in Central Processing Unit (CPU)? (ii) Define compiler and interpreter. (iii) What is machine level language? (iv) What is flowchart? (8) What is exit control loop in C Programming? (vi) State the use of goto statement in C Programming. (vii) What is pointer in C Programming? (viii) What are relational operators used in C Programming? What will be the output of the following C Programme? int main() { @& int a=10, b, 6; beat Ha; printi(“s=%d, b=¥%d and o=Med\n"a,0,0); retum 0; } (@) Solve the following equation: 6 %4+(44+2%4)/3*%2; Q:2 (A) Pay the following questions: What is token in C Programming? ial 2 Explain features of C Programming. (B) Answer the following questions: [04] |. What is software? Explain the types of software, 2, What is an algorithm? What i an algorithm? Write an algorithm to find whether the given number is Page 1 of 2Q:3 (A) Explain following conditional statements in C Programming: [04] L. iftelse 2. switch-case Q:3 (B) Give the list of looping statements used in C Programming. Write @ program to [04] print the following pattern: ecco OR (B) Write a program to read average marks (out of 100) from user and display [04] equivalent grade according to the following table: ‘Average Marks Grade 73-100 Distinction 60-74 First Class 50-59 Second Class Less than 50__| Fail Q:4 (A) Define array. Explain one-dimensional, two-dimensional and multi-dimensional [04] array. (B) What is string in C Programming? Write a program to display entered string in [04] reverse without using string library function. OR (B) Write a program to add two matrices of size 3X 3. [04] Q:5_ (A) Whats the use of function in C Programming? State the difference between call- [04] by-value and call-by-reference with example. (B) Write a program to implement arithmetic calculator (addition, subtraction, [04] ‘multiplication and division) using function. OR (B) What is recursion? Write a program to find the factorial of a given number using [04] recursion. Q:6 (A) Answer the following questions: [os] 1. State the difference between structure and union. 2. Explain any two file handling functions used in C Programming. (B) Write a programme to create a structure student which contains follow members: saidlac student_id and student_cpi. Read the details of five students and display the maximum cpi. OR -— i 5 : ® Write proganme which copy the content of one file into another file using file [04] Page 20f2ADIT / GCET / MBIT (CONSTITUENT INSTITUTIONS OF CVMU) BE - SEMESTER - 1 INTERNAL EXAMINATION -DECEMBER 2022 202000110 - Computer Programming with C Date: 14/12/2022 Time:3:00 pm to 4:00 pm Maximum Marks: 20 Instructions: 1. Figures on the right indicate full marks. 2. Make the suitable assumption if required, do specify the same. Q1 (A) Answer the Following. (Attempt any Four). (i) State the difference between Software and Hardware. (ii) Draw the block diagram of a computer system showing its components. (iii) What is entry control loop? (iv) What will be the output of the following segment? int main() int a[5] = {50,70,90,110,130); printf ("%d", a[3] ); return 0; } (v) Solve following expressions: 1, Ifa=10 and b=20. State whether the final condition is True or False in the following expression: (a-1)!=20 || b<1 && 3 2. Evaluate the following expression and show the answer: 17-8/4*243-+4a where a=5. (A) Answer the following questions. (Draw the flow chart of finding minimum of three given numbers. (ii) What is Token in C? Explain in brief. (B) Write a program to implement calculator (+,-,* and /) using switch case. Read operand and operator values from user. oR (B) Writer a program to print the following pattern: # @@ ee # @@e@@ (A) Answer the following questions. (0) Explain the structure of C program with example. (ii) Explain features of C programming. (B) Which are decision-making statements in C? Explain nested if-else with example, OR (B) What is Type Conversion in C? Explain implicit and explicit type conversions with suitable examples. **4e46** ALL THEBEST******** [04] [04] {04] [04] [04] [04] [04]
You might also like
Previous PPS EXTERNAL PAPERS
PDF
No ratings yet
Previous PPS EXTERNAL PAPERS
11 pages
Bigbull Education Xii-Computer 2024-2025
PDF
No ratings yet
Bigbull Education Xii-Computer 2024-2025
3 pages
Pic Pyq
PDF
No ratings yet
Pic Pyq
13 pages
Bei I-I
PDF
No ratings yet
Bei I-I
176 pages
BCT I-I
PDF
No ratings yet
BCT I-I
178 pages
Previous Year Question Papers
PDF
No ratings yet
Previous Year Question Papers
12 pages
Solution of PPS Mid Sem 1 Exam Paper W24
PDF
No ratings yet
Solution of PPS Mid Sem 1 Exam Paper W24
16 pages
C
PDF
No ratings yet
C
64 pages
C Programming Lab Manual
PDF
No ratings yet
C Programming Lab Manual
64 pages
Civil - I I BEX BCT and BCE All PDF
PDF
No ratings yet
Civil - I I BEX BCT and BCE All PDF
162 pages
Pps
PDF
No ratings yet
Pps
22 pages
Computer Programming
PDF
No ratings yet
Computer Programming
21 pages
C Previous Year Qps
PDF
No ratings yet
C Previous Year Qps
34 pages
("!I9Cl. - Qggsgls:P11Glggltqlg$Ail: Examination Control Division
PDF
No ratings yet
("!I9Cl. - Qggsgls:P11Glggltqlg$Ail: Examination Control Division
30 pages
Computer Programming
PDF
No ratings yet
Computer Programming
36 pages
WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming
PDF
No ratings yet
WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming
1 page
Important Questions For Board Exam
PDF
No ratings yet
Important Questions For Board Exam
11 pages
SSC-II Computer Science (2 Sets With Solutions) - Combined
PDF
No ratings yet
SSC-II Computer Science (2 Sets With Solutions) - Combined
37 pages
CP Lab Manual
PDF
No ratings yet
CP Lab Manual
40 pages
Problem Solving and Programming
PDF
No ratings yet
Problem Solving and Programming
25 pages
Untitled
PDF
No ratings yet
Untitled
15 pages
P8 Le KZW DT LF5 JG MN
PDF
No ratings yet
P8 Le KZW DT LF5 JG MN
9 pages
CIT 3102 Past Papers
PDF
No ratings yet
CIT 3102 Past Papers
5 pages
C Past Questions
PDF
No ratings yet
C Past Questions
14 pages
Computer Programming
PDF
No ratings yet
Computer Programming
21 pages
EE 171 UE 1st SEMESTER WITH ANS
PDF
No ratings yet
EE 171 UE 1st SEMESTER WITH ANS
6 pages
CP End Sem 2024
PDF
No ratings yet
CP End Sem 2024
4 pages
R19ES1201122020
PDF
No ratings yet
R19ES1201122020
8 pages
WWW - Manaresults.Co - In: C Programming
PDF
No ratings yet
WWW - Manaresults.Co - In: C Programming
5 pages
Structured Programing Module20001
PDF
No ratings yet
Structured Programing Module20001
4 pages
CCS 2101 Computer Programming 1 Question paperEEE& BED
PDF
No ratings yet
CCS 2101 Computer Programming 1 Question paperEEE& BED
5 pages
Programming Fundamentals
PDF
No ratings yet
Programming Fundamentals
6 pages
Ee171, UE Ex - 2015-1
PDF
No ratings yet
Ee171, UE Ex - 2015-1
3 pages
Adobe Scan 02 May 2022
PDF
No ratings yet
Adobe Scan 02 May 2022
5 pages
Programming in C Question Bank
PDF
No ratings yet
Programming in C Question Bank
11 pages
CIT 1101 Introduction To Programming Odinary Exam Print
PDF
No ratings yet
CIT 1101 Introduction To Programming Odinary Exam Print
4 pages
Final Model Paper Computer Science SSC-II
PDF
No ratings yet
Final Model Paper Computer Science SSC-II
7 pages
Statistical Computing: Ustng C/ C++ Programming
PDF
No ratings yet
Statistical Computing: Ustng C/ C++ Programming
9 pages
SPC 2107 Introduction To Computer Programming Year I Semester
PDF
No ratings yet
SPC 2107 Introduction To Computer Programming Year I Semester
4 pages
C Programing Imp Questions
PDF
No ratings yet
C Programing Imp Questions
8 pages
Computer Science Ssc-Ii: Answer Sheet No.
PDF
No ratings yet
Computer Science Ssc-Ii: Answer Sheet No.
8 pages
QBank BCS101 STT
PDF
No ratings yet
QBank BCS101 STT
3 pages
22 POP13 Set 1
PDF
No ratings yet
22 POP13 Set 1
2 pages
A61ha CTP R22
PDF
No ratings yet
A61ha CTP R22
2 pages
PC Previous Year Question Papers
PDF
No ratings yet
PC Previous Year Question Papers
5 pages
PPS QP
PDF
No ratings yet
PPS QP
1 page
CCS 1203 Introduction To Computer Programming CAT
PDF
No ratings yet
CCS 1203 Introduction To Computer Programming CAT
2 pages
C Programming 2072
PDF
No ratings yet
C Programming 2072
2 pages
L-l/T-2/ME Date: 29/1012023
PDF
No ratings yet
L-l/T-2/ME Date: 29/1012023
4 pages
ST ST
PDF
No ratings yet
ST ST
4 pages
CIT 1203 - Structured Programming QP PRINT
PDF
No ratings yet
CIT 1203 - Structured Programming QP PRINT
2 pages
May - 2019
PDF
No ratings yet
May - 2019
2 pages
Gujarat Technological University
PDF
No ratings yet
Gujarat Technological University
2 pages
Second Semester 2014 - 2015 Midterm Exam, Thursday April 2, 2015 Time: 120 Minutes
PDF
No ratings yet
Second Semester 2014 - 2015 Midterm Exam, Thursday April 2, 2015 Time: 120 Minutes
9 pages
PCD CBCS Vtu Question Paper
PDF
No ratings yet
PCD CBCS Vtu Question Paper
2 pages
CP (Mid Sem 2025
PDF
No ratings yet
CP (Mid Sem 2025
1 page
Question Paper CCP
PDF
No ratings yet
Question Paper CCP
2 pages
Computer Programming - I
PDF
No ratings yet
Computer Programming - I
21 pages