You are on page 1of 5
vestions Rank zy Gard iu, genrary vor, a0. RvateureTa AEF laya Nepal Engineering Questions Bank-2074 MID-WESTERN UNIVERSITY FACULTY OF ENGINEERING TA SHI Examination Control Division Stal oy aie neti) zane, Exam’ Regular fe Level BE Full Marks 50 a LJeast | © Program Civil Pass Marks 2 of fh > Year/Part wl Time Fits, iubject: Basle computer and programmin Draw a block diagram of computer and describe it. \ < \ 3 ‘Write an algorithm and flowchart for calculating the factétigl of SigiVen number. 3 What do you mean by conversion in expression? Deschbe.ifs types with example (complete programming example). Ne 33 What do you mean by variables? White down the rules using folaming variables. Wite a program for calculating simple interest Take the value of princiffal, Tite and Rate from keyboard. 3+3 Describe the different types of decision makingsfalemments with flowcharts. White a program to read a number from user and determin@whiethierfhe numberis prime or not. 343, Define array. Describe different types ofiniialization of an array. Write a program that shows the memory location allocated Uy each array elements. 343 What is recursive function? Describ@ycémponents of function. Write a program that calculates the factorial of the dlverqugpber using recursive function. 243 8. Describe the concept of \Whiitia program that exchages a number using pointer. 3+2 9. What do you mean byst re) Illustrate it's generate format. Define a:structure type ey. struct book bank thtywould contain title, author, pages and price. Write a program to read this information foPtwo book from the keyboard and print the same on screen. 2+4 fica w: | 10. What do you meaff by¥ile? Write down the basic file operation. Describe the different modes used in fle. y 4 Jeet: Basic computer concept and programming (CO101) tet” Describe different generations of computer briefly. 3 Deh jorithm and draw flowchart to solve a normal quadratic equation. 3 1a do’you mean by the term operator? Describe different types of operators based or ene lity with example. 145 4, What do you mean by statements and pre-processor in ¢ programming? Write down a program that show input statement and output statement 343 5, What is the difference between while and do. While loop? Describe different types H aoe ee looping with syntax. Write a program for multiplication tables using for loop. 6. What do pee, by two dimensional array? Write program that read mark's percentage in an examination of ten students. Calculate and display the average Percentage and deviation percentage from average of each student using aay Birefly discuss the diferent categories of function? Describe two types af function. Vrts @ program that calculates factorial of given number using user: oe te 8 Discuss about the void pointer with example. Write a program to prin ote variable along with its values. gat ‘Knowledge is being aware of what you can do. Wisdom is kn a rowing when not to do it Anonymous coor A 079 Ne Engineering Question da any OU, aa. r L ne ST aructue? musa ti exam Pe iissctibe about 1 i en Dynamic memary allocation ! € bafning ale a Programming (CO101) / eld } Subject: Basle Computer Concept al Tolan the appicatio of computer indifferent f ho oe requed? Explain diferent symbols used in Re NOW $12 it a do youn ey a) Vs \s computer? my fw explain with suitable example Define symbols eonstant Write a C program to find he area andpenifie! Nhat are formatted and_un inputloutput functions», Dis between puts) and putchar() with suitable example 5s) Menton different types of conditional statements wih syntax. »)_ Write a C program to determine whethepa'Blyertnumber i ‘even'or 4 ‘odd’ and print the message’ Tab aon NUMBER IS ODD tinguish f 1 nformatted) Or } NUMBER IS EVEN | 6 Whats the diference between an amray.and variable? Explain the Geclaration and initialization af one arid) two dimensional aay wih eran 7 What is call by value in fugction? Write a C program to ing a temporary variable. Le Ee 8 =) Explan plier wit Sable dagram @) Write the tpl, of the follows am. (Give &pir1=263200) ee main() cal prt Print(Capt sesh pit) acne printiC"ptrt=%aln'"ptrt); 2 prini¢p2=%alnpt2), era Staff Nu Printptr2= Sed, “ptr2) CMA. AG O\ rinti("ptr2= Yed\n' pt) ; 9 Whatis astuctue? 1? While aC two books which program to accey The Pas amber book: tive, book, PLand display the record of (14 pose of he folowing functions no ane BOOK. Id | F) fopen() b) fcloset i) o) fpuis() 9) foetet) Whar? &) Pri. ©) faets() = “protien te problem. Your real isthe problem Aroma o onvi eR Tiaya Nepal Engineering Questions i a 7 i 7iaya Nepal Engineering Questions Ban = peccbe the syntax of sruclure? llusrate it with example. Describe about strug, CUS re a, seater lore, an. evar A say g yithin structures. 1 10. ie snr nets on (any te) Subject: Bas a ig (CO101) briefly. 2 Functions related to fle b. Dynamic memory allocation 1. a) Define computer Describe different features of computer : = Delnng le & b) Write an algorithm and draw flowchart to read N numbers from user and display sum EE ey ric) of all entered numbers. ao Subject: Basic Computer Concept and Programming (C0101) 2. a) What do you mean by the term operator? Describe different types of ge ase: on utility with example , tests conputer? Explain the application of computer in diferent fields: {hb} What do you mean by the statement and prepocessor in c programming Write down % Why flow chattis requred? Explain different symbols used in the flow chart and [te @ program that show input statement and output statement. et GA ‘=o win sutable example. a 3. a) What is the difference between while and do. while loop? Descnbe, different types of 3 Deine symbolic constant Wrie aC Program to find the area and perimeter Ofa circle. [14 Conditional statement with syntax and proper example. ae ~~ “ #83 ze formated and unformatted input/output functions? Distinguish [2 >) What do you mean by two dimensional array? Write a program*that read marks Setwcen puts) and putchar{ ) Asch percentage from average of each student using array. } wah suitable example. 4-2) Briefly discuss the different categories of function?Describe,two types of function. Write 5 2) Mention diferent types of conditional statements with syntax 3 @ programm that calculates factorial of given numberusing user defined function. 5 Write aC ram tt i ere. b) Discuss about void pointer with example. Write @,program to print the address of a pan pet opens whether Giveninumber is ‘even’ or 4 variable along|withilts value NUMBERS ODD ; 5. a) Describe the syntax of structure? Illustrate i€withtexample .Describe about structure within structures. b) Write short notes on below topics. iw | functions related to file NUMBER IS EVEN c § What's the difference between ‘ i " 2 mitakosion of ons NaH Variable? Explain the temporary variable "© 2 program 0 swap two Rumbers —_[f! ¥ me Pontes with'Stitable diagram, . te the f vere * 4 Setri-zegeng) 6 he flowing program (Given 3=263204 anal Dy A eo, Bu, FAMALTUTCTAL ‘jaya Nepal Engineering Questions Bank-2074 Rye MID-WESTERN UNIVERSITY tiny FACULTY OF ENGINEERING Examination Control Division 0 & F Regular ge BE __ |Full Marks 50 m4 soar Computer Pass Marks 25 azgarfPart "i Time 3 Hits es . tse Athy Ss Subject: C-Programming (CO 304), = Attempt all questions. Candidates are requil possible. Assume suitable values, with stipulation, if necesSaly- > = figures in margin indicate full marks. mm X< a) Define computer network. Describe different, types of computer network using \\ diagrams. Pe 3 b) White an algorithm and draw flowchartto féad,N numbers from user and display sum of all entered numbers. Ta 3 | a) aie do you mean by the te! ihe ‘on number of operandswithtexamy VGHBTR —temary operator. se Ered a i fim ), What do you mean byistatements and preprocessor in ¢ programming? Write down a program that show input statement and:cutput statement 3+3 sal 2) What is looping "Descriterdifierent types looping with synt JIG! multiplication tables‘bsing for loop. b) What do you peanyy matrix? ‘Write a program that read marks’ percentage in an + examination.ofaten” students. Calculate and display the average percentage and jerage of each student using array, 445 deviatioy/percentage from avi ser defined function? Describe two types of function. Write a a) Whatdo yousmean by i “Shcalculates. Factorial of given ‘umber using user defined function 243 pointer? Illustrate initialization of 2 pointer. Wnte program to print the 342 of a variable along with its value. declared? Illustrate it with example. Describe about 244 re to answer the questions in thei own’ words as far as rmaOperalor?, Describe different types of operators Je. Write a program to illustrate the use of 343 tax. Write a program for 65.6 +) Write short notes on: (any tow) i) Basic file operation i) Defining a file ili) Modes of file operation 2073 Jestha pect: Programming in C (CO 304) : A QNo1 Listout the functions of Computer ‘Explain generation of comptes ih examples 3 QNo.2 Desert ‘ch of problem solving using computer. SE Ee t term constant in Cc programming? Describe different te the use of onaitionss 3 1A Q.No.3 What do you mean by the types of constants with example. Write a program f° illustral operator. decision Sseramong three numbers using if a find a greatest NUTT Deseribe different types of array. Write a prog. nn Weatdoyoumean DY ATT) read the 10 real numbers and compute z ional Aa gone-dimensional array per squares a7 Whats functon 2 combination ofn = Q.Na8 What do you mean by pointer? = = e Sa NU using pointer wa ee its generate format. Define a structire type ® personal thal would contain person name, date of joining art.salary, wite apo fb read fhis information for one person from the keyboard 2nd print the sane soeen + No.0 What do you mean by fie? Write down the basic fi gperation. Describe th modes used in fies R + Describe components of function, Write a program tha n, f)using user defined function. ‘ a rzectbe he concept of pointer. Nita poor eMac) Subject: Programming’n c (CO304) What do you mean by Computer. Netwoxk? Describe different type of computer network briefly. — os 2 a peime the term compjer andhinterpreter. White algorithm and flowchart of finding soluton of quadraticreqliation. Describe arithmetic operators Of days info monthiiand days, White a program to convert a given number 1 What do you amb Tes ook, poping? Describe the different types of loop with What do\ foxifoan array? Describe the diff of one dimen lifferent approach of compile Ory allocation? Describe it wi ion Best of Lacie With diferent funct Ught tomorrow with today, - Elizabeth 8

You might also like