Programing for Problem Solving
PPS pyq 2021 complete solution in one video .
This video is helpful for all btech 1st year student either in 1st sem or in 2nd sem.
so please watch the complete video for your good marks in examination.
If you have any query please contact me on my social media account
/ _ayush_2148_
www.facebook.c...
whatsapp.com/c...
Questions are :-
(e) In C, if you pass an array as an argument to a function, what actually gets passed?
(f) The keyword used to transfer control from a function back to the calling function is
(g) How will you free the allocated memory ?
(h) 2. (a) Write a program to print all prime numbers from 1 to 100.
(i) (b) It is syntactically valid to use float variable as loop control variable but it is not recommended. Justify your answer regarding this statement.
3. (a) Write a program to generate all combi-nations of 1, 2 and 3 using for loop
(b). Define data types in C. Discuss primitive data types in terms of memory occupied, format specifier and range.
4. Define calling and called functions with suitable examples. What do you mean by call-by-value and call-by-reference? Write C programs for swapping of two numbers using call-by-value and call-by-reference techniques.
5. (a). Explain various types of arithmetic and logical operators in C language with the help of example. When precedence of two operators in an arithmetic expression is same, how associativity helps in identifying which operator will be evaluated first? Illustrate it with example.
(b) Suppose that hundred numbers are entered from the keyboard into an array. The number to be searched is entered through the keyboard by the user. Write a program to find if the number to be searched is present in the array and if it is present, display the number of times it appears in the array.
6. (a) What is case control structure in C? What is the reason for using break statement at the end of each case in case control block?
(b) Explain pointer arithmetic with the help of suitable examples
7. (a) Any year is entered through the keyboard. Write a C program to deter-mine whether the year is a leap year or not.
(b) Explain string palindrome. Write a program in C to check whether a given string is palindrome or not.
8. (a). Write a C program using the nesting of loops to print the following pattern:
(b) Define storage classes with its type in detail.
9. (a) What is recursive function ? Further, for given integer n, write a program in C to find the sum of the following series using recursion :
S=1+2+3+…….+n
(b) Define structure and union in C with suitable examples.
#akupreviousyearquestions #pyqsolution #btech1stsemestersolution #btech2ndsemestersolution #btechpyqsolution #ppspyqsolution #ppssolution #workshopmanufacturingpractices #pps2021solution #btechkerambaan #beuhelper #chemistrysolution #programming #clanguage #clanguagecourse #clanguageforbeginners #programminginc #programforproblemsolving #programingforproblemsolvingpyq
#IITPatna #nitpatna #BCEBhagalpur #MITMuzaffarpur #WITDarbhanga
#MCEMotihari #DCEDarbhanga #NCEChandi #LNJPITChapra #BCEBakhtiyarpur #CIPETHajipur #CAE #BITPatna #GCEGaya #AITLakhisarai #SITAurangabad #SETISIWAN #SGIDSTPatna #AZMET
#MACETPatna #VITMBuxar #MITPurnia #NSITPatna #VVITPurnia #RPSITPatna #IRIMEEJamalpur #MBITForbesganj #RRDCEBegusarai
#SIT #KEC #AICTE #workshopmanufacturingpractices #ppspyq #pyq2021 #pyq2020 #pyq2022
#akupyq #akupyqsolution #akubtech1styear #btechppssolution #mechanical #civil #electrical #mechanicalengineering #electricalengineering #civilengineering #cs #computerscience #foodprocessing #video #engineering #biharengineeringuniversity
#trending #trendingvideo #trend #viralvideo #katihar #ayushkumar
Негізгі бет B.TECH P.P.S PYQ 2021 Complete Solution || Programing for Problem solving || BEU || @beuhelper
Пікірлер: 40