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)
79 views
178 pages
BCT I-I
Past year questions ioe
Uploaded by
indiaid1234247
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 BCT I-I (1) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
79 views
178 pages
BCT I-I
Past year questions ioe
Uploaded by
indiaid1234247
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 BCT I-I (1) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save BCT I-I (1) For Later
You are on page 1
/ 178
Search
Fullscreen
Question Bank‘TRIBHUVAN UNIVERSITY [Exam INSTITUTE OF ENGINEERING Level BE Examination Control Division | programme ia are BAR 2080 Baishakh [ear /Part 1/1 ‘Subject: - Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary, NS a) How is an application software different from system software? Explain with examples, b) How is code in source file is converted to the executable file? Explain with key steps involved. 2. a) How is constant different than a variable? b) Write a C program to read an integer 'd! from the user. If 'd' is the radius of a circular ground in meters, then this program should calculate and display the area of the circle in square meter. 3. What are formatted input/ output functions? Explain each in detail with examples. 4, a) Differentiate between library function and user defined functions. Provide relevant examples. b) What is a function prototype? Write a C program to find sum of first 10 naturel numbers using recursion, 5. a) Write a program to read marks of 48 students in a class and display the second highest mark. b) How can we copy one string to another string without using any string handling function? 6, What do you meen by array of structure? Write a program to create a structure named "Student" having members Roll, Name, Address and Marks, Use this structure to read the information of 48 students in a class and display the information of only those stadents whose marks is between 50 and 70. 7. What are pointer arithmetic? Explain with example, Write a C program that uses pointer to read m%n matrix from user. Pass it to function that finds the transpose of the matrix. 8. a) Howis a binary file different than a text file? Write the syntax and use of fseek () and rewind() fimetions in C. b) Write a C program to read the name, year_of release, and language of 3 movies. Save the movie data of all ‘English’ language movies in a data file, 9. What is the use of FORMAT statement? Explain 1 and F format with example, Write a program in FORTRAN to read « number from user and check whether it is a prime number or not. 10, Write short notes on: a) While and do-while statement b) String manipulation in C. one ie} a 4 2] [6] [2+4] 8) (144) 1] 65] [248] [444] [242] 2] [4+4] [2x3]Examination Control Division | Programme A145 pas Marks | 3 raorovanunensry [Exam EAE INSTITUTE OF ENGINEERING Level {BE Full Marks | 80 2079 Bhadra ‘Year/Part 1/1 “Time {3 hrs, PSASA ‘Subject: - Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicsable. Attempt All questions. : ‘The figures in the margin indicate Full Marks, Assume suitable data if necessary. 8) Differentiate between system software and application software, Provide relevant ‘examples for each of them. b) List the steps involved in solving a problem using ¢ computer. Why do we need an, algorithm before writing program code? 22] a) Define fokens in C programming language. How are variables declared as constant? Explain with example. 242) b) Write the output of the following: (6) # include
int main () { char strl [50], ste2 [50] = {'N' sean ("% [A-Z]" , str] ) 5 printf ("%s\n", str) ; printf (°% 0.5 s\n", str2) 5 printf ("% 5.3 s\n", str2)5 printf ("% 0.3 s" , stt2) : return 0; } Input string: KATHmanDU low are break and continue statements used to jmp out ftom the loop? Write a program tov ywaluate the following series until the term value becomes less than ae ee 10% cose) =1- 54S - 545 [446] . a) Write a syntax of function ‘declaration, function definition and function call inc programming. Can a main funtion be called recursively in C? Justify your opinion BH] ). Explain the use of recursive function with a suitable example, 4] . a) Differentiate between array and string. Explain how to declare and use multi dimensional arrays in C. (3+2] 1) Write a C program to read a sting from the user. Pass the sting #0 1 fimetion and sort ihe alphabets in descending order. For example, ifthe user entered "exam" then the program should display "xmea' (3) a) What is the meaning of data type used in pointer declaration? Define a fumetion in ‘your program to swap two integers using pass by reference, (143) 1) Write a program to find the frequency of a number in array. Explain the relation of pointer and array using this program. 4 |. Write the purpose and syntax of fopen 0) and felose () function. WAP to create a structure book with its member name price and author. Read 10 records from user write it to a file named "book.dat". Read information from book.dat file, search author name "Gotterftied", If found copy the records to a file "gotterftied.dat" B+] What are the datatypes available in FORTRAN? Write a program in FORTRAN 10 check a number is palindrome or not. (345) ). Write short notes on: [2x4] a) Associativity in C +) Entry and exit control loop‘TRIBHUVAN UNIVERSITY, (Bx INSTITUTE OF ENGINEERING | Level BE Full Marks | 80 32 Examination Control Division | Programme Gana BAR | pass Marks 2079 Baishakh [Wear 7Part [1/1 [Time Thrs.| Subject: - Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. SA68 . Explain the program development and compilation process in detail. Draw a flowchart to find all possible roots of a quadratic equation, 2, Describe fimdamental data types in the C programming language. Whet are relational and (444) logical operators? Explain their precedance, associativity and their uses with example. [3+1+4] 3. Explain how scanf() and printf() are used. Write syntax and use of gets(), getcharQ, scanfi) and getche(); 4, Discuss the difference between while and dowhile structure with examples. Write a program to find the following sum of following series up to n terms. 1 sum= 147 5. Give the necessary condition for a function to be a recursive, Write a program to generate Fibonacci series up n terms. You need to make a recursive function to generate the each term of Fibonacei series. 6. Why do we need array in programming? Write a program to display the addition of two matrix. Your program should include one function named input to enter the values of two matrix, one function named add to perform addition of two matrix and one function named display to show the result obtained after addition of two matrix. 7. What is difference between array and structure? Create a structure TIME containting hour, minutes and seconds as its member. Write a program that uses this structure to input start time and stop time. Pass structures to a function by reference that calculates the sum and difference of start and stop time. Display the sum and difference from calling function. 8. How is an array related with pointer? Write a program to read a string containing letters, numbers and special characters, transfer only letters contained in it into another string using pointer, finally display the second string containing only alphabets. 9, Discuss “a”, “r” and “w” modes used in data file operations. Write a program that reads numbers from a file containing series of numbers and separates odd numbers from even numbers and writes them on two separate files. 10. How are one dimensional array declared in FORTRAN. Write a program in FORTRAN to read and compute the transpose of any matrix. [4+4] +5] [B+5] +7) (2+6] (246) [2+6] [2+6]Examination Control Division SASK ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Fall Marks 2078 Bhadra { Year/Pa Sa = = Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicable. Aitempt All questions. The figures in the margin indicate Full Marks, Assume sititable data if necessary. @) What i a program? Explain different types of programming language in brief. (143) b) What is an algorithm? Explain how does algorithm and flowchart helps in computer programming. a) Explain Temary operator in C with an example. Define following terms. [242 (@) Preprocessor directives Gi) Keywords b) Write the output of the following C program. (4 int a,b; : = double c= 123.55667788 char str{]= "I enjoy programming”; seani{" %3d%2d", &a, &b); printf("a = %5\n b=%-7d",a,b); printf{"n%10.7s",str); printi("\n%0.3f",¢); printf("\n%-10.6P",¢); ‘input:123456 789 Write the difference between formatted UO and unformatted VO functions in C-programming. Write the syntax for following functions. (@ getche . (ii) getchar(Q) Gi) scanf() 2) What do you mean by iteration? Explain the operation of break and continue statement with a suitable example. : . b) Write aC program to check whether an entered word is a palindrome or not without using library function, (6) a). What do you mean by a function header? Explain the function parameters and its types. b) Write a C program to calculate the sum of digits of a given number unless the sum becomes a single digit using recursion. (Hint: 9785 => 29 => 11 => 2] 4] a) What is an array? Why is it necessary inc programming? (142) b) Write a program which display following pattern. [5] H HE HEL HELL HELLO HELL HEL HE H (143) [2+4] 1143} (143)7. Is there any relation between array and pointer? If yes, show the relation between array and pointer with a suitable example, 43] 8. What is structure? Write a program to read a structure named "Faculty" having StafflD, Name, Address and ServiceYear as member. Where ServiceYear is another structure having DurationInYear as member. Now display the details of those faculties whose service duration is more than 10 and less than 30 years. [7] 9. a) Why do we need file handing? Write different modes of file opening, (43) ) What is the purpose of fseek and vite a program to write the name, roll no, and age of five students into a disk file name "STUDENT.DAT". Gy 10, Describe X format and T format in FORTRAN, Differentiate between unconditional goto and computed goto in FORTRAN. Write a program in FORTRAN to sort elements of a TD array in ascending as well as descending order. [24246] oF‘TRIBRUVAN UNIVERSITY INSTITUTE OF ENGINEERING BE Full Mi Examination Control Division | Programme | All except BAR, Pass Marke, 32 2078 Kartik [Wear 7Pare [171 Time ah. ‘Subject: - Computer Programming (C7401) = Candidates are required to give their answers in their own words as far as practicable, Attempt All questions. ‘The figures in the margin indicate Full Marks, Assume suitable data if necessary. SAAS 2) ‘Discuss the recent software trends. Explain in details about the features that a softwaré should include. - 22] b) List out the general rules for flowcharting, What are the erors that might occur during debugging? 2." a) What are pre-processor directives? Explain compilation process with suitable block diagram. : b) Why do we need to analyse the problem before solving i? Define tokens, expression and identifiers. 3. a) Whats the control statement? Write dov the classification of control statements. [427 (4) (242) (143) [143] b) Write down the syntax of a given function, @ printf) scanf() 6 Gii)getchar) Giv)getchO 4.8) Write the output of following program: : BI int main float gravity = 9.815 printf("%4%d26%fin"); printf("%10d\n", g)s printi("%3c\n", ch); printi("%.3fn", gravity); printi("%-10.1f%6d\n", gravity, 2)s return 0; 1 b) Define and write syntax of the following: @) gets) Gi) putchar) Gii)sconf) 5, Why dd we need loop for programming? Write, a program to evaluate the following series. : Gel] [24] _ bnterms10. ML. ‘Why do we need to declare a function? Défine formal parameter and actual parameter. Evaluate following series using recursive function. (24244) 4,1, 111, 1111, 11111, a) Define an array of string with an example. Distinguish between an array and a pointer, b) Write a C program to insert an element to a desired position to an array using function. The new element to be inserted and desired position should bé givae by user. a) Define a void pointer with an appropriate example. b) Write a C program that uses pointer to represent iwo 2-D array of size of mxn and xq respectively. Find the product of these two matrices if possible otherwise display a message "Calculation cannot be performed” using function, Discuss about neSted structure with a suitable exemple. Create a stricture called "student" ‘with data member name, address and id.pass structure to function and sort the information of student on'the basis of alphabetical order of “name” and display the result in main() function. Write a © program to create a new file named "employee.dat" which consist the information of 10 employees. Employée information includes empName, salary and post. ‘Read the file back to search the word "manag Explain different format types used in FORTRAN. Mention different data types used in FORTRAN. nterms [242] {6 2) (6 [26] (6 BY]‘TRIBHUVAN UNIVERSITY Exam. INSTITUTE OF ENGINEERING | Level BE FulMarks | 80 | Examination Control Division | programme | AL 5° PAS pass Marks | 22 2076 Chaitra Year /Part_[ 1/1 Time [Shes ‘Subject: - Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicable, v Y Attempt All questions. Y. The figures in the margin indicate Full Marks. ¥ Assume suitable data if necessary. ‘What are different types of computer software? What do you mean by high level and low Ievel programming languages? A long with the block diagram explain the steps involved uring compilation of e source code. [24244 2, Explain different types of error that usually appears during the programming. Define preprocessing directive and explain its type with example. Write the algorithm and draw the flowchart to find the reverse of given number. (24244) 3, Why are formatted output important in C language? Write a program to print all the roots (Even imaginary roots) of quadratic equation. 4, Explain the importance of a switch case statement. Compare switch-case with if-else adder, Write a program to find sum of numbers from I to 100 which are exactly divisible by 5 and not by 3. [24244] '5, How is function declared? Why is function prototype necessary? Write recursive function segment thet retums the sum of numbers from I to n given by the user. [2H45] 66. How can you pass one dimensional array to fimetion and what does name of an array in function call represents? Write a program to-find the largest and smallest element of an array using a single function and display the result in calling fiction. an be defined and structure variables can be declared in C. Write roll numbers, program and marks obtained in five subjects by ! and display the stadent detail and total marks obtained by +5] 345] 7. Explain how a structure ¢: a progidi that reads name, students until the user enters 'e each student. 8, What is pointer? behaves stropy() fimetion using pointer as arguement. 9. Explain different modes in opening file. Write a program fo read a string, write it into a file and display the content of file into a screen. 10, Explain different data types available in FORTRAN. Write a program in FORTRAN to cheek whether a number given by user is palindrome or not. a8 +5] Discuss its relationship with an array. Write a fimetion program that [14245] [4+4] (2+6]Examination Control Division | programme | AU Gx? PAR] pass Maris | 32 ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING BE Full Marks | 80 2076 Ashwin ‘Year/Part {1/1 ‘Time 3 hrs. RNAS © b) What is an expression? Write a program to display the smallest number between three Subject: - Computer Programming (CT 401) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. a) Define a language processor. Explain the main types of language processor in detail. [2+3] 'b) List the basic step of problem solving using computer. Write an algorithm and draw a flowchart to find the sum of N natural number. t+) a) Define formatted and unformatted /O functions. Write the operations of following functions: [243] @ getchO i) getche() i)getchar() integers entered from user using conditional operator. [144] a) Differentiate between while and Do-while looping statement with example. (4) b) Write a program to evaluate the following series up n term. Prompt the user to input value of n and x. f(x) = 1x/21+x4/41-x 6145/8) “up tonterms. {61 a) “What are the different types of functions available in C? What do you mean by pass by reference and pass by value. (23) b) What are the similarities and difference between iteration and recursive function? Give Suitable example. (51 How do you matrices of size mxn and pxq respectively. Pass these mat the product matrix. Display the product matrix in the main Q) fimetion, [28] a) What is a structure? When do we use structure? [2+ ) Write a program using pointer to swap the value of two variable where the swapping operation is performed in separate function. {6 a) Why are fgets(), fputs0, fgete() and fputc() used? 4 b) Write a program to display the record in sorted order, sorting is performed in ascending order with respect to name using data files concept. (4 a) Compare Logical IF and Arithmetic If statement in FORTRAN with example, a. b) Write a FORTRAN program to sort 10 integers given from user and display the second largest integer, ee‘TRIBHUVAN UNIVERSITY __ INSTITUTE OF ENGINEERING Full Marks | 30 JExamination Control Division | Programme All (Except BAE) Pass Mariss | 32 2075 Chaitra [Mear/Part [UT [time [Bhrs. | ‘Subject: - Computer Programming (C7401) 7 Candidates ae required to give their answers in their own words as fares practicable, YY Attempt ALE questions. : Y The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. La) What is computer programming tnd coinputer software? Explain about types of programming languages and software. : py 1b) What do you. mean by compiler? Explein in brief the steps involved during compilation process along with block diagram. 24] 2, a) Whatis expression? What kindof information i represented by expression? 2) 1b). What is the purpose of the putchar function? Hoiv is it used within a C program? : Compare with the getchar function with example, is) 3. 2)’ Compare nested. control stucture-with elseif led strucore along with Dowehart. [4] b) Write a program to read a number from user, count the number of even digits contained in it and display whether the resulting count is prime or not. (6) 4, a) Write « prograis to generate the following output. 16} 3123454321 1234321 : 42321 24 1 b) What js fmetion? What type isthe min Q fiction? Explain sof parameter and formal parameter with example. (4142] 5, a) Write a program to read one dimensional array ofa elements, pass it to 2 function for processing so that, the program should display the largest and smallest elément of an array from the main function. ( b), How can we intilize 2D aray of charecter deta type during compilation? Iustrate ‘with suitable exaaaple. ‘a 6. a) Whot isa structure? Explain nested structure with an exemple, (2) 1) Waite a program to define a structure named Person with Name, edeess salaty as its ceanbes Enter values’ for five persons. Pass ‘the structure to a fonetién which sremases the salary by 15% each. Display the updated information in the mein Q funetion. : m7. a) Write the output of the following. a 10 b ce address: 65510 address; 65550 address: 65580 int a=10,%b, **; printf(“%d\t%d\n", c, sey printi(Yed\t%d”, *b+5, &ct2); b) What do you mean by Generic pointer, Null pointer and File pointer? 8. a) Explain the FORTRAN structure, What arc data types in FORTRAN?. }) Writea program to print the Fibonacci series until the term is less than 500, ate (6] 4) [ae] {6oy IBHUVAN UNIVERSITY Exam. INSTITUTE OF ENGINEERING [Level BE Ful Examination Control Division | Programme | All (Except B. Arch)} Pass Marks ™ 2075 Ashwin Year /Part_| 1/1 ‘Time ‘Subject: ~ Computer Programming (CT#01) Y Candidates are required to give their answers in their own words as far as practicable. v Attempt All questions. Y The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. 1. a) What is computer program? Discuss in brief about different generation of programming languages. . [i+4] b) Why is algorithm and flow chart development important in problem solving? Write an algorithm end draw flow chart to test a number entered by user whether it is even or not: [243] 2. a) What is the identifier? What are the ways to give value to variable? Explain with ‘example? [14241] b) Explain about input and output function available in C with syntex and example of ‘each part. {2+242] 3. a) Write algorithm, draw flow chart and program to input a number check ‘it is Amstrong or not. [24242] yb). What do-you meen by-selective and repetive statement? Why do we need break end continue statement? [242] 4. a) What do you mean by "call by value and call by reference"? Explain it with suitable example. [4] b) Can we pass whole array element from the function? Write the program to pass an - > axray to function and sort them, {6] 5, a) Write’ program that finds the largest word in a given sentence, (4) b) Differentiate between the methods of passing argument to function with example. ‘What ate their advantages and disadvantages? (1 6. What is structure? Why is it necessary? Write a program to add two distances given in feet and inch format using structure. [+146] 7. a) Whats null pointer? What will be the output of following program, explain. =, [143] ie * Hinclude
int mainQ { if(! NULL) printf("C programming is easy"); else printf("C programming is not easy"); return 0 ; } b) Write a program to calculate the length of string without using string handling function. i) 8. A file name employee.txt stores employee name, employee id and employee salary. Write a program to display the detail of all employees in the order of their salary. [8] 9. Write a program in FORTRAN to read 10 integers from user and short them in ascending order and display it in soreen. a aoeoy} TRIBHUVAN UNIVERSITY Exat INSTITUTE OF ENGINEERING _[Tevel E Examination Control Division | Programme | All xcept B. Arch) 2074 Chaitra Year /Part_| 171 ‘Subject: - Computer Programming (CT#01) Y Candidates are required to give their answers in their own words as far as practicable. Y. Attempt All questions. Y The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. 1. a) What is a programming language? What is the difference between source code and object code. [242] b) What is debugging and testing? What are the step that need to be followed for developing the application-software, 242] 2. a) What is the difference between variable declaration and variable definition? Explain with example, 4 b) What do you mean by macro expansion and file inclusion in C? Explain with example. 4] 3. What are functions used for formatted and unformatted output? Write down its syntax. ‘Write down the output of printf() function for the following sections of statements, [44] float a= 5.7891; int b = 6789; printi("s=%4f and b=%-7d from first line’, a,b); printi('a=%-7.2f and b=%07d from second line", a,b); printf("2=%.2f and b=%2d from third line", a,b); 4, a) Explain about while loop with its syntax and flowchat. [4] ): Write a program to convert a decimal number into binary number. (aI 5. a) Cana fiction return an array to the calling function? Explain with example. 4 b) Write a program to read a mxn matrix of integers and to find the largest elements of each row. Store the largest elements of the row in a one-dimensional array of m integers before displaying them. (6) 6. a) How does a structure differ from an airay? What are the different ways to access structure member? 4] b) Create a structure named Student that has name;'roll and marks as members. Assume appropriate types and size of members. Use this structure to read and display records of 10 students, Crete two fimnctions: One is to read information of students and other to display the information. (6) 7. a) Define following term: 6] i) int*p; ii) int p(char*a) iii) int(*p(char*a)) iv) int *p(void) ¥) int*(*p[10})char a) b) Write the advantages of using pointer in C- programming. B) 8. Write a program to copy to copy content of one file source.txt. to_another destination. tet. 8] 9, a) Explain the FORTRAN structure, What are different types on FORTAN? [243] b) Write a FORTRAN program to read N number to find second largest number among them. 6)2 © TRIBHUVANUNIVERSITY INSTITUTE OF ENGINEERING | Level BE Fall Marks | 80 Examination Control Division | Programme | alt Except B ach) | Pass Marks | 32 2074 Ashwin Year Part [T/T ‘Time Shs | Subject; - Computer Pro; gramming (CT401) Y Candidates are required to give their answers in their own words as far as practicable. Y Attempt All questions. Y The figures in the margin indicate Full Marks, ¥ Assume suitable data if necessary. 1. What ate computer programs and computer programming? Explain the steps that are required to’build a computer program for solving a certain problem. 2. Explain with an exemple the role that precedence and associativity play in the execution of an expression. Rewrite the following program by correcting any errors, if present anid also write down the output of the corrected code. Define MAX‘? int main {) { int casefMAX}={2,3,5,4,10),;sum=0; for{i-0,iMAX,it=1) ft : rintf("Case sod = %3.2d\n'j,ceseli); sum +=* caseti; . Xk © average = sum/Miax; printf("06.2F" average); return 3; , 3. a) Compare if-else-if ladder and switch construct with example and flowchart. b) Write program in C to generate following pattem using unformatted input/output functions only. N cee PPPPP aaaaaaa LLLLLELLE 4, Write a program in C to find out whether the n'® term of the Fibonacei series is a prime number or not. Read the value of n from the user and display the result in the main function. Use separate user-defined functions to generate the n® Fibonacci term and to check whether a number is prime or not [246 [+4] [5] 6) [8]3 4) How two dimensional arrays are created in C programming? Write a program to read ‘square matrix of size NxN and find sum of both diagonals. [24] b) Write a program in C to check whether a given sting is palindrome or not using user | defined function, [4] 6. What are the advantages of using pointer in C programming? Write a program in C to find second largest elements fiom an array containing N elements using concept of | pointer. 244] | 7. Explain structures and nested structures? Create a structure to hold any. complex number | structure to read two complex numbers and display a | muitiplication of the entered complex numbers. (345) 1 8. a) What are different input/output functions used with data files in C? Explain with syntax and examples, 14] i 4) Write a program in C to read integers ftom user until user says “to”, ‘After reading the data vite all the odd numbers to file name odd.t and all the even number e fre named even.txt, [4] { 9. When can we use recursive functions? Why do we need. control statements in computer programs? Differentiate between do...while and for statements, [2242] 10. What are the characteristics of FORTRAN Programming? Write a program in FORTRAN to calculate the value of x by evaluating the following forinila for the first 25 terms, [3] ee2 maven (a ae INSTITUTE OF ENGINEERING Level BE Fal 80, Examination Control Division | Programme ‘All Except B-Arch.) | PassMurks | 32 2073 Chaitra Year /Part [1/1 ‘Time 3 hrs. Subject: - Computer. Programming (CT#01) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. The figures in the margin indicate Full Marks. “Assume suitable data if necessary. ASKS 1. Explain the generations of programming language. Distinguish between High level and Low level programming language. 1343} 2, What is an algorithm and how it differs from pseudo-code? Develop algorithm and draw flowebast to find the largest of N numbers. [24343] 3. a) Whatare identifiers? List the rules to define valid C identifiers. (2+3] b) What is operator? Describe the conditional operetorin C with syntax and example, [2+3] 4. What are the differences between global and local function, variables and data types, & (Ampersand) operaior and * operators used in e-programming language? Explain with example, [44] a) Differentiate between pass by value and pass by reference, BI +b) Explain the significance of user defined functions with example, (31 6. a) Write a program to read a string and check whether it consists of Alphabet or not, Use ‘user defined function to accomplish the task. [5] by Bkplain how 2D array is passed to a function, Write a C program to display largest and smallest elements of a 2D array. [3] 7, What i nested structure? Write a program in C to read name, age and silary of 10 different employees ad the three members of a structure named as “employee”. Sort this data in salary basis using user defined function and display sorted data from main function? [248] 8, Write @ program in C-programming language to compute the cosine series. (hints: cos(x) = L/2}4x'/41-x 161+. sup to n terms) [6] 9. Write a program to open file named INVENTORY and store in it for maximum 10000 data of ITEM_NAME, NUMBER, PRICE, QUANTITY. Extend the program to read this data from the above given filename and display the inventory table with the value of each item. [6] 10.2) Compare unconditional goto and computed goto in FORTRAN with syntax. Bl b) Write a program in FORTRAN to read an array containing N elements, sort this data in ascending order and display the result. (1° +Ste os __TRBMvaN VERITY By Ne sts 2066 te tc INSTITUTE OF ENGINEERING eee] BE ‘Full Marks| 80 Examination Control Division | Programme ‘ALL (Except B. Arch) | Pass Marks) 32 | 2073 Shrawan ‘Year /Part_|1/T Time ___[3hs._| SA88 4 4 ~ Subject: - Computer Programming (C7401) Canidae are required to give their answers in their own words as far as practicable. Attempt All questions. “The figures in the margin indicate Full Marks, “Assume suitable data if necessary. 2) What do you mean by Programming Language? Explain about the evolution of programming languages. b) What are the advantages of a Flowchart design? Write down the guidelines to be followed to draw a flowchart. py 2) What is the purpose of the semicolon that appears at the end of most assignment statement in C? Explain the program compilation, linking and loading process with 1143] example. +4] ») Discuss the types of errors in programming, How do you debug C-program? B+} a) Explain relational and logical operators. (4 b) Write a C program to display following pattern without using formatted inputloutput statements. Programming rogrammin ogrammi gramm yam a a) Why do we need control statements? Compare switch and ifelse-if ladder with example. a b) Write @ C program to display all characters between a given ranges. (1 2) What are the advantages of using functions? Differentiate between Library functions and User-defined functions with suitable example. I 1b) ‘Write a program to chick whether a given number is Armstrong number or not asing reoutsive function. 2) Write a C program to read two stings in main and compare them using userdefined function. Display appropriate message from main. 4] 1b) What are overflow and underflow errors in context of array? Write a program io add comesponding elements of two arrays, The results should form a new array. (+4) we with example, [2*4] 4 [5] a) Why should we prefer structure over array? Explain nested structm 1b) Write a program to read name and roll number of 48 students from user and store Tham in fle. If the file already contains data, your program should add nev data at the end of the file. (6) a) What is the structure of FORTRAN program? 65] b) Write @ FORTRAN program to read n numbers and display largest smumber among them. [5] oeot [#0 05 -TRIBHUVAN UNIVERSITY Exam. INSTITUTE OF ENGINEERING Level BE Fall Marks | 80 Examination Control Division | Programme | Aut sceptB. Aray| Pass Marks | 32 2072 Chaitra ‘ Year/Part | 1/1 Time 3 hrs. Subject: - Computer Programming (CTs) Candidates are required to give their answers in their own words as far es practicable, Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. SASS a) What is a flow chart? Use the various commonly used flow chart symbols. How does a flow chart help computer programming? (e242) b) What is a program? Briefly describe types of computer software. (2+2] 2. a) Whats an operator, datatype, constant and variable? Define. [6] b) Define and write syntax of the following: 4] i) getsO ii). putcharQ) i) scant) iv) strlen) 3. a) How is the switch statement used in decision making? Explain with 2 suitable example, ia] b). Write a programa to check whether a given integer is a triangular number or not. i] (Any mumber is a triangular number if the sum of natural number from 1 t0 any number i sls exactly equal: to that number, For eg 1,3,6,1015 etc are triangular number. as, 142=3, 1424376, 14243+4=10, 14243+445=15) 4, 8) Briefly explain the passing by value and'passing by reference in function with ‘example, [6] b) Write a program to calculate sum of digits of a given S-digits number entered by the user using recursive function. : 1 5. What is a string? Write a program to read a 3*3 square matrix, find minimum integer Value of a matrix, replace the diagonal elements by the minimum element and display it using pointer, [28] 6. a) What is the principal difference between a structire and an array? 2} 6) Write a program to read structure "college" having name, estDate and location where : estDate is an another structure having day, month and year as members. Display the records of 10 colleges, [3] 7. a) What isa data file in C? What are the modes in file handling? Explain briefly. 1143] >) Write @ program to read the information of a file named "data.txt" and write its contents to another file "record.txt", [6] 8. a) Compare DO and implied DO statement in FORTRAN. (3) 2) Write a FORTRAN program to add and subtract two matrices and display the results in matrix form, 7] tae0S TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division [Programme | All @xceptB.Arct) | Pass Marks | 32 2072 Kartik Year/Pat [it Time | 3h. ‘Subject: - Computer Programming (CT#01) Y Candidates are required to give their answers in their own words as far as practicable. ¥ Attempt All questions. Y The figures in the margin indicate Full Marks, : VY Assume suitable data if necessary. f 1. a) Explain different generation of programiming languages, 4] 1b) Why do we need analysis and design before coding a program? 4 2. a) What do you mean by precedence and associativity of an operator? Explain with suitable example. BI b) What are the differences between formatted and unformatted Input / Output. Give suitable example with sample output for the following: %10i, %3c, %-10.3fand %x. {1+4] 3. a) . What are the purpose of the continue statement? Within which control statements can continue statement be included? Compare with the break statement. [14242] ('b) Write a program to find the sum of series Sn = )1/n? up to N term. {5} 4, ‘What is the meaning of function prototyping? Write a program to calculate the sum of the “series +1141 11+....ctup to N terms using recursive function. If N is read as 5, the series HLS LIESLLLTFII IE. +6) )) Explain ‘with-an example for compile, time initialization 6f 2D array. Deseribé how. compilier martages according to the number of initializers and size of an array given by user in case of 1D array. b) Write a program to read a word fom a main function, pass it into a function that will convert all of its characters into upper case if the first character is in lower case and into lower case if the first character is in upper case. Display the converted string from main function, rey] 6, a) Explain need of structures. How can we create and use a structure within another. ~ [2+3] [233] b) Explain dot and arrow operators for accessing the members of a structure, BI 7, a) If Pir is a pointer to user defined type or basic type, by how many bytes is Ptr incremented when the statement Ptr+ is executed? @ b) Write a C program that calls feverse array () to reverse the array and return the array and display the element of reversed array using pointer. : (61 8, List different types of standard V/O used in C. Write a program to write name, roll no and age of five students into a disk file name "STUDENT.DAT". 1246) 9. 9) Explain different types of goto statements in FORTRAN programming with suitable example, Write a program to read n from user and display the sum of following series fill a terms: 1+(142)H(14243 3421S) ened [ara] b) Explain with suitable example to show howan Impiled Do loop works 'n FORTRAN. [4] oyos ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING BE Full Marks | 80 Examination Control Division | Programme | All (Except B. Arch)| Pass Marks [32 | 2071 Chaitra [Year /Part [T/T Time "| 3 hrs ‘Subject: - Computer Programming (CT#01) Y Candidates are required to give their answers in their own words as far as practicable. Y Attempt All questions. The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. 1. a) What is mean by compilation? What is mean by interpretation? How do these two processes differ? (4 »), Define programming language? What ars the features of good computer progiam? _{1+3] 2. a) What are preprocessor difectives? Explain constants and variables. (242) “b) Write syntax and example of following statements/fimotions: [xa] i). printf ii) getch iii) scant iv) long 3,,;What are control statements? illustrate nested IF statement with its flowchart. Write a ¢ N(N+1) ‘program to calculate the series: 1x104+3%20+6%30+.sjict 7 XION, where N is an integer term read from the keyboard. Bibs] 4. a), Write a prograin to display Armstrong numbers between the range entered by & user and. also display their counts. You must use a function to check for Armstrong “numbers and display them fiom main. : (4) ‘b) “What do you men by nested function and recursive fuinetion? Give-an example of recursive function, * +2] 5. a) Write a C program to read a string and display its reverse. Use user defined fimction to count number of characters in itand to reverse it. [4] b) Write an algorithm to insert a value in an array at a position given by user. (4) 6. a) What is a tag? Must a tag be includad in a structure type definition? Must a tag be included in'a structure vatiable declaration? Explain, . [+142] b) Write-a C program that reads several different names. and address using structure computer, rearrange the names into alphabetical order and write out alphabetical list. [4] 7. Iustrate with example’ that "Array is indirectly pointer". Write program to calcalate sum and average of integer numbers between M and N (where value of M and N are read from keyboard) using pointer. 2 S : 8. Write a program to continuously reed name, age and salary of a worker and write it dato a file until user confirms to end, Then read n ftom user and display the n® record in the file. Details of worker must be represented by a structure. m 9. a) Compare arithmetic and logical if statements in FORTRAN. Sop b) Write a FORTRAN: program to display nature of roots of a quadratic equation, Calculate and display the roots, if they are real and equal. {8} 8 ty05 _TRIBHUVAN UNIVERSITY [ fixam. INSTITUTE OF ENGINEERING =, | Level BE Fall Marks | 80 Examination Control Division. | Programme | All (Except B.Arch) | Pass Marks | 32 2071 Shawan Year/Part_[i/t Time Es ‘Subject: - Computer Programming (CT40/) Y Candidates aze required to give their answers in their own words as far as practicable, ¥, Attempt All questions. ¥. The figures in the rhargin indicate Full Marks Y Assume suitable data if necessary 1: 8) Categorise programming languages on the basic of their uses and applications. ‘Among them Which progremming language is C programming? fl 1) List and defing‘different steps to solve the problem in computer system. 4} 2. a) Differentiate between declafation and definition Explain structure of C program with = “ an appropriatgéxample. i) b) Write syntax, example and use of following: [ba] i pint) fy ii) scanft’) le ii) getche( ) } iv) getch() 24. Write the difference between do and do..... while’ loop and write the program “to find © whether a year is leap or not’. Be] _ What is reoursive finction? How does it work? Find out sum of digit of number until the i ‘number becomes‘one digit number.[891>18>9]. : [2h2M4] 5, a) Write a program to rfad a string and rewrite its charactérs in alphabetical order. Za} b) A multinational company has hired 3 sales’ persons for marketing/selling”its 3 different products in Kathmandu. Each sales person sells each of these products. Write a progiam to read number of each product sold by all-sales-persons. Calculate total sells of eich item and the total sells of each sales-perscn. Use arrays. 16) 6. a) Explain about “Arrays within structures” along with programming example, [4] b) Write the program “to understand how structuré members are sent to a function” [4] 7. Write down advantages of pointer, Write a program using pointer to swap the value of two variables where the bwapping operation is performed in separate function. (246) 8. Write a C program to sfore employee details in 4 text file. Read data from the text file, sort them in ascending ofder of salary and store the sorted record to a binary file. Display the details and rank of espployee given by the user, Bi 9. 8) What do you mean hy formatted and unfortatted input/output statements in Fortran, . «and also give suitable example which explain the concept of Formatted 1/0, {8} 'b) Write the program to convert a binary number to a decimal number using Fortran programming language. 4] } “awe ' F95 ——_TRIBHUVANUNIVERSTI'Y som 6 INSTITUTE OF ENGINEERING Level BE Full Masks. Examination Contro! Division = ATL C Except B. Arch 2070 Ashad Vear/Part (1/1 __ Subject: Computer Programming (CT401) Candidates ae required to give their answers in their own words as fa s practicable, Attempt AL questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. ASAK a) Define software. Explain its types. by b) What are the steps required to develop a computer program? Explain. 61 2, a) What are relational operators and assignment operators? Explain with examples. B) b) Rewrite the following program by comecting any syntactical errors, if present. Also show the output of the corrected code. B42] #inciude
int main ()- ic float root, int i= 15 do { sum=2i~1; print (\t%d\n", sur) i*= 523; 3 while (sum <= 15) root = pow (i, 1/2); print (\n%.3?", root); “return void; } 3." a) Write a program to read the number until - 1 is encountered. Also count the number of even number and odd numbers entered by the user. (6) Distinguish between break and continue statement with example. (a 4. a) Explain how fimetion is defined in C? Differentiate call by value and call by reference. [142] ) Write a program using a function that retums the largest number from an array of numbers that is passed to the function, (5 5. a) How are one dimensional and two dimensional arrays created in C? Explain with examples. +2] b) Write a C program to read two matrices from user, add them and display the result ia matrix form. 16] 6. What do you mean by nested structures? Give suitable example, Write a program to read the heights of two students and display the difference between their heights. Use feet and inches as members of a strticture to define height. [246] 7. 2) Compare array and pointer with example. GB] b) Write a program to read a string from user and use a user defined function to copy the content of the read string into another character array changing lower case letter to upper if any. Use pointer to process the string. 5] 8, Write a program to read the details of book authors and write it to a file, until the user confirms to end. Then read and display the n record in the file, where n is read from the user. The data for authors must be represented by structures that contain name, nationally and number of books published. 8] 9. a) Explain the FORTRAN structure. What are data types in FORTRAN. [242] b) Write a program in FORTRAN to solve quadratic equation and display roots in proper format {8}‘TRIBHUVAN UNIVERSITY INSHITUTE OF ENGINEERING Examination Control Division | Programm: 2080 Baishalh ‘Year /Part F Candidates are required to give the answers in their own words as fer as practicable, Attempt All questions. Y. The figures in the margin indicate Full Marks. Y Assume suitable data if necessary. 1. If y= log(x+Vo +x7),then show that ) CHA) ptxn-0 ii) @4x2) ya Ont) xyae1 F100. 2. Assuming the validity ‘of expansion prove that the series by using Maclaurin's series: 4, Define an asymptotes to a curve. File all the asymptotes of the cubic x2. 2y tay Oxy) Fy Gey) F1=0- : 2 2 z z 5, Find the pedal equation of the curve: 5 a @ 6, Show that (* beats Bie 7. Byaluate: [° Joa £22099 gy, using the rule of differentiation under the sign of om integration. §. Define Beta and Gamma function, Using Beta and Gamma function evaluate: & 0370 sin*9 40. 9, Find the volume of the solid formed by revolution of eardioid r= a (I-ens6) about the initial line. 10. Solve Berytane sy? tans 11, Solve the differential equation: y= yp? + 2px 2, 12. Solve the differential equation: Ty 2B sy axc*sinx. ae 2, 13, Solve the differential equation: x7 &Y pax Mg ay =e. at dk OR ‘The curent in a ciouit containing resistance R and inductance I in a series with voltage source E, Find the current inthe circuit asthe function of time. {5} [5] (5) G1 5) (5) (5) [144] 1 [5] 5} 1} (5) 15]14, Derive the standard equation of ellipse. {5} 15. Find the angle through which the axes may be turned so that the equation x+2y+5=0 may be reduced fo x = and also determine the value of c. (5 16. Show that the conic 3x” + 10xy + 3y°-26x - 22y + 43 =0 is a hyperbola. Also find the eccentricity. {144] OR Describe and sketch the conic r= —fse08 secO —1 [5]‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING —_{ Level_ BE Examination Control Division Programme . All except BAR | Pass Marks | 32 2079 Bhadra Year/Part |I/I | Time [3 hrs. ‘Subject: - Engineering Mathematics | (SH 401) Candidates are required to give their answers in their own words as far as practicable, Aitempt All questions. ‘All questions carry equal marks. “Assume suitable data if necessary. SARS State Leibnitz's theorem. If y = a cos (logx) + b sin (logy) then show that xypea + On +1) xyaen # (02 +1) yo = O- 2, Apply Maclaurin's series to find the expansion of e* secx as far as the term in. x ‘Hopital’ ap lim (sinx 3, State L'Hopital’s rule, Using it evaluate ol 4, Find the asymptotes of the eurve (x ty? (c+ 2y +2) =x 499-2 5, Show that forthe ellipse 5+ 2 1, the radius of curvature atthe extremity ofthe major axis is equal to half of the Latus rectum. * cosxdx 6. Integrate: i ——S— oT grates) y sinx\2-+sinx) 0 AK gi sinx dx and 7. Apply the rule of differentiation under integral sign to evaluate: ie x sinx hence deduce that [> Seana 8, Define Beta and Gamma functions. Evaluate: Gx 9, Show that the area of the astroid x°°-y"*=a"* is ae OR Find the volume of the solid of revolution of the cardoid r = a(1+cos0) about the initial a line. 10, Solve: x 2#2y =x'logx 1, Solve: y= yp? + 2px where p = 2 FY 413 = esi 12, Solve: S2-4'3 + 2y = eM sinx dy ,5¥ gy yo¥o 1 eae 14, Derive the standard equation of an ellipse. 15, Through what angle should the axes be rotated to reduce the equation 3x24 2xy-+3y? ~/2 x = in to one with the xy term missing? 16. Find the center, length of the axes and eccentricity of the conic 9x2 4+ 4xy + 6y? -22x-16y +9=0 2, 13. Solve: x2—2 x OR Describe and sketch the graph of the equation r= os ae‘TRIBHUVAN UNIVERSITY on. EY INSTITUTE OF ENGINEERING [Level _—iBE. Full Marks 80 Examination Control Division [Programme All (Except BAR) , Pass Marks’ 32 2079 Baishakh (Wea [ear Part Time - Engineering ‘Mathematics I (SH 401) ‘Subject: Candidates are required to give their answers in their own words as far as practicable. ¥ Attempt AU questions. Y The figures in the margin indicate Full Marks. v Assume suitable data if necessary. L. State Leibnitz’s theorem. If y=log(x+¥a?+x2) then using the theorem show that (a +x)yp + xy; = 0 and hence show that (a+ x")yoe2 + (2n+ [yer + myq = 0. U4) 2. Assuming the validity of expansion, find the expansion of log(secx) by ising Maclaurin’s theorem. 5] 3. What do you mean by indeterminate form? State various forms of indeterminacy. Evaluate 1 sim . xe sae? (5) x 4. Define asymptotes and its types, Find the asymptotes of the curve x84 axly +5xy’ + Dy! + 2x? + dy + 2y?-x-9y+1=0, +4] 5. Find the pedal equation ofthe curve of r* = 2cosm9. (5) 6. Show at (22 gy 2g (/2 +1). 5 ota (7? sinx+ cos” “Dy 980? +9 4 7. Evaluate, by using the rule of differentiation under the sign of integratio R log tacos) 4, 5) osx . 1 dx 8. Define Beta and Gamma function and use these to evaluate {+ (1 a-x*) 9. Find the area included between an arc of eycloid x = a(@ - sin @), y= a(1- cos0) and its base. OR Find the volume of the solid formed by revolution of the cardoid r = a(1+cos @) about the initial base, (5) 10. Solve the differential equation $Y. =x/y 6 : Era Gee ee 11. State Clairatut’s equation, find the general and singular solution of y = px + p= p’. [5] 12, Find the particular integral and hence solve the differential“ equation ¥"-2y' + Sy=e™sinx. (5) i 2. 13, Solve the differential equation x2 2.x Yj oy —xlogx. (3) ae x 14, Through what angle should the axes be rolated to reduce the equation 3x? + 2xy+3y?-V2x=0 into one with the xy term missing? Also obtain the transformed equation. (243) 15, Deduce the standard equation of the hyperbola, * (] 16, Describe and sketch the greph of the equation ¢=——!0 2-3sin0 OR Find the centre, length of axes and eccentricity of the conic 3x? + Bxy - 3y’ - 40x - 20y + 5 [5] oe‘TRIBHUVAN UNIVERSITY iam. INSTITUTE OF ENGINEERING Level BE ‘Full Marks | 80 Examination Control Division | Programme | All except BAR 138 Marks | 32 2078 Kartik [Year/Part [1/1 [Time "13 hs. ‘Subject: - Engineering Mathematics I (SH 40/) _ Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. “All question carry Equal Marks. “Assume suitable data if necessary. SA448 | LL. state Leibit’s theorem, 1f y+ y7!/M = 2x, provethat (3? L)y2 tyr my =0, and hence show that (2? —1)yng2+(20+1)3yq41 + (07 ~ m? )¥q =0- ©" as far as the term in x’ and ive 2. Apply Maclaurin’s series to find the expansion of hence find the expansion of log(1+e"). 2 nx \/* ital’ lim, { sinx 3. State L-Hospital's rule, Evaluate ,'7,° (2) 4e. Find the asymptotes of the curve of x7(x~y)? na%(x? +y")=0. 5, Define the radius of curvature, obtain the radius of curvature for the curve at the o1 xity’=3axy. 6. Prove that: [tw =2(n-2) VReexs tnx” 2 7. Apply the method of differentiation under integral sign to prove. « J a(ae cose) (ab? PO? : 1 8,. State Beta and Gamma funtion, Use them to evaluate: { x° tx? de a 9. Define the term quadrature. Find the area bounded by.the curve r = a(1~— cos). : OR Find the volume of the solid forined by the revolution of cyeloid x = a(8 +sin@), y= a(1+cos 0) about x-axis. 2 (xt yt )de+(y-x)dy = 10, Solve the differential equatior 11. Find the general solution of the differential equation: e” ~ p? — p= where p="12.Solve the different equation: (D? +2D+I)y=e% +x? 13, Solve: (x?D? +xD -1)y =x? OR . : A radioactive material has an initial mass 100mg. After 2 years, it is left to 80mg. Find the amount of material at any time t, 14, Through what angle’ the axes ‘be rotated to remove the term containing xy in Ux? + 4xy + Hy? -5=0. 15, Define hyperbola as a locus of a point and deduce the equation of hyperbola in standard form. : 16, Find the center, length of axes, and eccentricity of the following conie: 3x? + 8xy—3y? - 20y-40x+50=0 t seeExamination Control Division | Programme S644 ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Level 2078 Bhadra es ‘Subject: - Engineering Mathematics 1 (67140) _ Candidates are required to give their answers in their own words as far as practicable. Attempt AU questions. The figures in the margin indicate Full Marks. Assume suitable data if necessary. If y=(x1)", then prove that: (x?—I)yq42 + 20ne7 M+ 1) q 2, Assuming the validity of expansion, expand log(1+x) by using Maclaurin’s theorem. Give an example of indeterminate from. Evaluate: ,!i (cotx)!98% Find the asymptote of the curve: (x ~y?)? -2(x? +y?)+x-1=0 5, Find the radius of curvature for the curve r™ =a™ cosm0. 10. ul. 12. 13. 14, 15. 16. OR Find the pedal equation of the following curves y? = 4a(x+a). hogt+x) Evaluate: [2° ax 9 dex?) Evaluate by using the mule of differentiation under the sign of integration: Pe estes te 9 ieee n/8 1 Define Gamma function. Use it to prove: J cos? 4x dx G 0 Find the area of'a loop of the curve : a2y? =a?x?—x4 oR Prove that the volume and surface area of a sphere of radius 'a' respectively. solve: + Ztogy =-%-(logy)? ae ge Find the general solution of the differential equation y = (1+p)x tap”. Solve: (D’+3D+2)y = e™ sinx Solve: (x°D? - 2)y = x?+ 1 OR A certain culture of bacteria grows at rate proportional to its size. If the size doubles in 4 days, find the time required for the culture to increase to 10 times to its original size. ‘Through what angle must the axes be rotated to remove the term containing xy in Lx? +4xy+]4y? =5, Prove that: 2x? +3y? —4x—12y +13 = Orepresents equation of ellipse. Find its center, length of axes, eccentricity, and direct ices of ellipse. a ‘Show that the line xcosa + ysina. = p will be a tangent to the hyperbola 5-5 a if 2 eos? a? cos? a.—b sin? =p”, wee BE_____| FullMarls_| 80 All excep BAR| Pass Marks | 32 7 ime h 6] 65] (5) [5] {5} [5] (s] (5) (5) (5) [5] (5] (5] 6) (5] (5) 15)TRIBHUVAN UNIVERSITY in. Full Marks | 80 INSTITUTE OF ENGINEERING Level BE Examination Control Division | Programme | All except BAR) Pass Marks | 32 2076 Chaitra ‘Year /Part_| 1/1 Time Shs. Subject. - Engineering mathematics I (SH401) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. All questions carry equal marks. Assume suitable data if necessary. . Ify=acos(log x) + b sin(logx) prove that: @ x
4a(x+a) Ey ecine E ASIDECOSE oy cos? x-+sin4 x hatte? Using the rule of differentiation under the integral sig, evaluate [l08@+8-*°) i+b*x ~ nI2 wld 8. Obtain the reduction formula for f cos" xdxand hence evaluate feos!” xdx. 0 9. Obtain the area of a loop of the curve VC???) Or, Find the volume of the solid formed by the revolution of the cycloid x=a(+sin®) 10. Solve the differential equation: a2 Zetan® x 11, Find the general solution of y=Pxtit‘p? 12. Solve (D*-2D+5)y = e*sinx 1. soWve x2. 2x Yay axt a or, ‘A radio active material has an initial mass 100mg. After two years, itis left to 75mg. Find the amount of the material at any time t. 14, What does the equation 3x7+3y+2xy-2 become when the axes ere tured through an ‘ angle 45° with the original axes. {, 15. Obtain the equation of hyperbola in standard form. 16, Find the center for the conic 3x7+8xy-3y%40x-20y+50=0. +oi ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING —_[ Level BE Full Marks | 80 Examination Control Division | Programme | All (Except BAR) Pass Marks | 32 2076 Ashwin Year /Part_[171 Time Shs] ‘Subject: - Engineering Mathematics I (SH 401) Candidates are required to give their answers in their own words as far as practicable, Attempt All questions. The figures in the margin indicate Full Marks, Assume suitable data if necessary. SAAN 1, If y=sin(msin™ x), show that =x?) nea (20+ 1)XY gq + (mn? — 0”), = 0, where suffices of y denote the respective order of derivatives of y. [3] 2, State Lagrange’s mean value theorem, Verily it for the function y =sinxon|- 25] Is this theorem valid for the function y = tanx on [0, 7]? (14341) in Ke 3. Evaluate x->0 (2) 6) 4, Find the asymptotes of the curve (x+y)*(x+2y+2)=x+9y-2. 15] ~ 5, “Find the pedal equation of the eutve y? =4a(x+a) . I 6. Evaluate, if possible [én xdx. [5] i ot + ‘ e™ sinx 7. Apply differentiation under integral sign to evaluate ia and then show that (ee =f, [441] wt 4 2 WS 5 8, Define Beta and Gamma function and use itto show that, | cos‘ 30sin? 68 en : [5] a 9. Find the volume of the solid formed by the revolution of the cardioid r = a(1 + cos 6) about the initia line, 6) 10. Solve the differential equation &. yeotx = 2c0sx. [5] 11. Ifp stands for x, then solve the differential equation y —2px + ayp’ = 0. i} 10, Solve the differential equation (D? - 2D + 5) y= e™sinx. [5] 13, Solve the differential equation (x*D? +xD+1)y =sin(logx”) 1] 14, Define ellipse and obtain the equation of ellipse in standard form, (3 15, Prove that the locus of a point which moves in such a way that the difference of its distances from the point (5, 0) and (-5, 0) is 2 isa hyperbola. [5] 16, Describe and sketch the graph of the conie a (I ee__TRBHUVAN UNIVERSITY Pa ee INSTITUTE OF ENGINEERING _[ Level BE Full Marks |.80 Examination Control Division | Programme | All (Except BAB) | Pass Marks | 32 2075 Chaitra Year /Part_ [171 Time This, Subject: - Engineering Mathematics I (SH 401) ¥” Candidates are required to give their answers in their own words as far as practicable. Y Attempt All questions. ¥ All questions carry equal marks. Y Assume suitable data if necessary. 1, If y=e"*"*, then prove that (1-x*)y,,. ~(2n-+l)sy,.—(n? +a)y, =0 2. Assuming the validity of expansion, find the expansion of iog(l+e")by using Machlaurin’s Theorem. in inx 3. Evaluate: x->0 (J x 4. Find the asymptotes of the curve: -@ny a +x’ =1, the radius of curvature at the extremity of major 2 5. Show that for the ellipse + a6 axis is equal to half of the latus rectum, 6. Show that [ootd-x+3?)ar=3—tog2, Evaluate by using the rule of differentiation under the sign of integration fleet +acosx) EEE ACS) ty 3. cosx © 8. Prove that: [Geran ea 5 9. Find the surface area of solid generated by revolution of cycloid, x=a(0+sin8),y=a(1+cos@) about its axis. 10, Solve the differential equation: Ba hsinaya2*cost y 11. If p denotes 2 »then solve p*-4xyp+8y? =0, vy ey 12. Solve: wR =xte™ 2 13. Solve: v EZ Bs ystoge 14, Derive the standard equation of an ellipse, 15. Find the condition that the line xcosa. + ysinct = p to touch hyperbola =~ a also find point of contact. 16.Find the centre, length. of axes and — eccentricity of /—_ conic 9x? +4xp+6y? ~22x-16y+9=0. . OR Desetibe and sketch the graph of polar equation:02 YRIBHUVAN UNIVERSITY | Exam, INSTITUTE OF ENGINEERING Level Full Marks | 80 Examination Control Division | Programme | ALL (Except B. Arch) | Pass Marks 2075 Ashwin Year /Part_ {T/T _ = Time ‘Subject: - Engineering Mathematics I (SH401) _ Candidates are required to give their answers in their own words as far as practicable. Attempt Ail questions. The figures in the margin indicate Full Marks, “Assume suitable data if necessary. AAAS 1 1. State Leibnite's theorem. If y"-+y® =2x , show that (x?—I)y, +xy;—m’y=Oand hence prove that (x? ~1yq42 +2n-+1)xy_4)+(n?-m*)y, =0. 2, State Roller’s theorem, Does the theorem hold when the function is not continuous at the ‘end points? Justify your answer. Verify the theorem for £(x) = x? -4x43 on [1,3]. 1 3. State L-Hosptals theorem and evaluate x > (ey x 4. Find the asymptotes of curve 4x? —3xy?~y’ +2x7—xy-y? -1=0 5, Find the pedal equation of the curve y? =4e(x+e) 6. Show that [?, d= Felon + # 7. Evaluate, by using differentiation under the sign of integration si cedex aad 1+b°x’ 8, Define Beta-Gamma function and use it to evaluate [cos 30.sin’* 60.40 9. Find the surface -area of the solid generated by the revolution of the cardioids 1=a(1+c0s0) about the initial Line. 10, Transform the equation 12x? -10xy+2y? +11x-Sy+2=0 by translating the axes into an equation with linear term missing. 11. Derive the standard equation of hyperbola. 12. Find the centre, Length of axes and eccentricity of the conic 9x? +4xy+ 6y? -22x-16y+9=0 OR Describe and sketch the graph ofthe equation r=—12S200- bee : 2+3see0 13, Solve 24 02 dx 4 14, Solve the differential equation of xp*—-2yp-+ex=0 15. Solve (D? ~Ily = sinh(x) 16, (e:D* + xD +ly =sin(ogx’) oe [243] ) {5} 5] [5] (5) {5} [5] (5) (1 5] (5) 5) (5) (5) [5]022 ‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Ler BE Fall Marks Examination Control Division | Programme | ALL Except B. Arch) | Pass Marks] 32 2074 Chaitra _ Year /Part_[1/1 _[ Fim hrs. Subject: - Engineering Mathematics I (SH401) % Candidates are required to give their answers in their own words as far as practicable, Y Attempt ALL questions, Y The figures in the margin indicate Full Marks Y Assume suitable data if necessary. 1. State Leibnitz theorem. If log y= tan" x , theri show that : ae 427 )y a2 + Om +2x—DY qu +(0? +n)y, =O [+4] 2. State Rolle's theorem. Is the theorem true when the function is not continuous at the end points? Justify your answer, Verify Rolle's theorem for f(x) = x75x-+6 on [2,3]. [14242] 3, State L-Hospital's rule. Evaluate x “> 1(2 ~ or) (+4) 4. Find the asymptotes of the curve (x+y)*(x+2y+2)=x+9y-2 {5} aya 5., Find the pedal equation of the ellipse e (5) 6. Evaluate the integral five [3] Mx? 7. Apply the rule of differentiation under integral sign to evaluate ["2—""* ax and hence x deduce that ("2% ax =2 ee tt 2 8. Define Beta finction. Apply Beta and Gamma function to evaluate f'"x* Vax—x?dx I 9, Find the area common to the circle r= a and the cordioid r= a(1+c0s0) [3] 10. Through what angle should the axes be rotated to reduce the equation 3x? +2xy+3y’~V2x=0 into one with the xy term missing? Aiso obtain the transformed equation. [243] 11, Derive the equation of an ellipse in standard form. s [3] 12. Find the product of semi-axis of the conic x? ~4xy +5y? =2 6) OR Deseribe and sketch the graph of conic r=——12__ 3+2c0s0 13. Solve the differentiate equation of (x? - y”)dx+2xydy=0 (5) 14. Solve: y=yp” +2px where ve [5] 15, Solve (D? - 6D +9)y =x7e* ‘ 15) : . 16. Solve the differential equation of Pax D payee? (5)a TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division 2073 Chaitra Candidates are required to give their answers in their own words as far as practicable Attempt All questions. ‘All questions carry equal marks. “Assume suitable data if necessary. 2 1, State Leibnitz theorem. Ify =e", then show that ¥gqj ~2XYq—2nyq.1=0 2. Expand e*loge(1+x) in ascending powers of x upto the term containing x! in Mactaurin’s series. 3. State L-hospital’s rule. Evaluate, tm x2 0( (=) 4, State the types of asymptotes to a curve. Find the asymptotes of the curve G2 -y*xt2y Fax ty t1=0. 5, Find the chord of curvature through the pole for the curve r= a (1+e0s0). log(l+x?) 4. — 6.. Show that ee log? 7. Apply the method of differentiation under integral sign to prove @ ax, (a? +b?) lo Gaisin’x+becos*x) — 4a°b 8. Using Beta -Gamma Funetion, show that 3n-4 192 (Fsint x.cos? x dx 9. Find the area included between an arc of cycloid x = a (8-sin®), base. a (1- cos®) and its OR Find the volume of the solid formed by the revolution of the cerdoid r= a (1-+c0s6) about the initial base. 10, What does the equation x? +2V3xy—y? = 2a” become when the axes are turned through an angle 30° to the original axes? 11. Derive the equation of an ellipse in the standard form.12, Find the eccentricity of the conic, x? + 4xy-+y?-2x4+2y-6=0 OR Deseribe and sketch the conic 10cosec8 2eosecd +3 dy _x42y-3 ax Qxty-3 13. Solve: 14, Solve: 2+ tanx =seex ax 15, Solve: y = 2pxtp’y’; where p -2 ix a a I pee y 16. Solve: x? F-24577 +29 = coedf 01 TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING — [Le _ ‘Full Marks Examination Control Division | Programme | All ExceptB.Arch) | Pass Marks 2074 Ashwin Tt Tine | Y Candidates are required to give their answers in their own words as far as practicable. ¥ Attempt All questions. ¥ All questions carry equal marks. ¥ Assume suitable data if necessary. tant State Leibnitz’s theorem on heigher order derivative. If y (bx yao + Qmx+2x~a)y,,, tn(a+i)y, =0 2. State difference between Roll’s Theorem and Lagrange’s Mean value theorem. Verify » prove that Lagrange’s mean value theorem for fix) = x(x-1)(X-2) when x € [o5} 3. Define inderminate form of a function. Evaluate te x5 of x 4 Define asymptote to a curve. Find the asymptotes of curve. y3 +2xy? +x7y-y+1=0. 5, Find radius of curvature of the curve x°+ y’ = 3axy at origin. oR Find the pedal equation of the polar curve r™ = a" cosm0, cosx dx 6, 6 Integrate: f (sinx)+sinx) e™™ sinx, 7. Apply differentiation under integral sign to evaluate t
IT (sinx)*"* 0 4. Find the asymption of the curve ay? +x?y? —a?x? +2ax? — 5. Find the radius of curvature at the origin for the curve x? + y? =3axy : Look 6. Evaluate dx pik+Ja-x, 7._ Apply differentiation under integral sign to evaluate f 3n-4 192 j .4 8. Using Gama function show that foin® xcos? x dx. a 9. Find the area bounded by the curve x? = 4y and the line x =4y-2 oR Find the volume of the solid generated by the revolution of the cardioid r= a (1-cos8) about the initial line. dy 10. Solve: Sinx “+ ycosx =xsinx ax 11. Solve: xp? - 2yp+ax =O where p= |e ay yay : 12, Solve SY 2 ey arte? Py ds « te ay: ie 1B, Solve: x? FXG +y = logx 14. Transform the equation x?—2xy+y?+x-3y=0 to axes through the point (-1,0) parallel to the lines bisecting the angles between the original axes. 15.Find the center, length of axes and the eccentricity of the ellipse 2x? +3y? ~4x—12y+13=0 16. Find the length of axes and ecentricity of the conic 14x? ~4xy +1ly? 44x —58y+71=0 OR 12 2-6cos6 ote Describe and sketch the conic r= (1 65) GI [5] (5) (5) (5) (s] (5) [5] (1 (5) (1 6]01 ——_TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING | Examination Control Division | programme | 41 (#2 | pass marks | 32 BArch) | 2070 Ashad ear /Part_ (1/1 Subject: - Mathematics I (SH#01) _ Y Candidates are required to give their answers in their own words as fat as practicable, Y Attempt All questions. ¥ All questions carry equal marks. ¥ Assume suitable data if necessary. State Leibnitz's Theorem on_his derivatives. If y = sin (m sin''x) then show that (12) yorn= 2n+1) xynet + (0?) x(x+3) e 2. State Rolle's Theorem and verify it for the function f(x) = , xe[-3,0] L u aa 3. Evaluate: x0 (2 x 4, Find the asymptotes of the curve (x? -y?)? -2(x? +y*)+x-1=0 5, Show that the radius of curvature at any point (70) of the curve r ™ cosmO is (m+ 6. Show that ({ 280+) dy = Stog2 lex 8 7. Evaluate by using the rule of differentiation under the sign of integration e* sinbx, to 8. Use Gamma function to prove fs cos’ 36, sin? 69= 5 9, Find the area bounded by the curve x”y=a"(a~y) and X-axis OR Show that the volume of the solid formed by revolving the ellipse line x = 2a is 4n7a’b cubic units. 10. Solve the differential equation (1+ y?) dy=(tan“! y—x) dx 11. Solve the differential equation y= yp’ +2px where p= ix12. Solve the differential equation (D? -2D+5)y=e™* sinx 13. Solve the differential equation x? Newton's law of cooling states that the temperature of an object changes at the rate Proportional to the difference of temperature between the object and its surroundings, Supposing water at 100°C cools to 80°C in 10 minutes in a room temperature of 30s find the time when the temperature of water will become 40°C? 14-1f the axes be fumed through an angle tan = 2 what does the eduation 4xy - 3x? a?= 0 becomes. 'S.Find the’condition that the straight line x cos @ + y sin « = p iouches the’ ellipse ati 1 # 16.Find the centre, length of axes. and eccentcity of the conic 9x? + 4xy + 6y?~22x-16y+9=0 oR 12 Describe and sketch the graph of the equation r=——12__ rescribe and sketch the graph of the equation r sae‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division 2080 Baishakkh Y Candidates are required to give ¥ Attempt All questions. Y The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. 1, What is torsional pendulum? Derive an expression for modulus of rigidity of a wire by sing torsional pendulum. (+4) OR Define damping force. Derive differential equation ‘of damped harmonic motion and write its plane solution. Also explain the conditions for under damping, critical damping and over damping with sketch. [14242] 2, An oscillating LC circuit consists of 2 75 mH inductor and a 3.6 HF capacitor, If the ‘maximum cherge on the capacitor is 2.9 wC. What are the total energy circuit and the maximum current? (2542.5) 43, ‘The reverberation time for empty hall is 1.5 see with 500 audiences in the hall, the reverberation time falls 1.4 sec. Find the number of persons present in the hall if the reverberation time falls down to 1.312 see. : (3] 4, ‘Two thin converging lens each of focal length 0.15 m and 0.2 m are 0.10 m apart, An abject id placed at a distance 0.24 m from the Bist Jens. Find the positions of focal points ‘and position and nature of image. B43} +5, What is interference of light? Give the necessary theory 0 obtain relation for path Jference in the interference due to reflected light in thin film. 44] OR show that the intensity of second order maxima is 1.62% of central maxima in Fraunhoffer" Single slit diffraction. : (5) 6. What is double refietion? Explain the construction and working of Nicol prism. (4 7. In a Newton's ring arrangement sourre emitting two wavelengths 1 = 6000A and ja = 5900A is used, It is found thet x dark ring due to ‘wavelength ’1 coincides with (ret) dark ring due too. Find the diameter of ah dark ring if the radius of curvature of ens is 90 cm. ) 8, Draw a well abeled He-Ne Laser and its energy level diagram and explain briefly its Tanking principle. How can it be used in scientific technology? [iH424] 9, What is quadrupole moment? Prove thatthe Elect field intensity on its axial line due to quadrupole varies inversely with the fourth power of distance. +41 oR Define an electric dipole. Discuss the behavior of dipole in electric field. Mention the een stin for maximum forgue and maximum potential energy in the electric field. (+4) 10. Fxplain the term "eontinuous charge distribution’. Derive an expression for electric intensity due to ring of uniformly distributed charge. [4]11, Derive an expression for growth and decay of charges in RC series circuits. Also, show the variation of charge and current with time graphically. [4] 12. A copper wire has cross-sectional area 3.31 x10°%m? and carries a current of 5 A. What is the drift speed of the electrons? (density of Copper = 8.95 gmem™ and Avogadro's number = 6.0210” mol", Molar mass of copper = 64 gm) [5] 13, What is Hall mobility? Explain how will you determine the carrier charge density and sign of charge carrier from Hall experiment. [4] oR What is self inductance? Derive an expression for self inductance per unit length of a solenoid and hence prove that magnetic energy is proportional to square of magnetic field. (+4) 14, A long coil consisting of 100 tums with diameter 100 cm carries a current of 5 A. Find the magnetic field at a point along the axis 100 cm form the center. 5] 15. Write Maxwell Equation in integral form and convert into differential form, [5] 16, An electron with kinetic energy 5 eV is incident on a barrier of height 10 eV and weidth. 0.25 nm. Caleulate the probability that an electron (a) will tunnel through the barrie:? and (©) will be reflected? (4i] oe‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division 2079 Bhadra "Subject: - Engineering Physics (9H 402) V Candidites are required to give their answers in their own words as fat as practicable, ¥ Attempt All questions. Y The figures in the margin indicate Full Marks, Y Assume suitable data if necessary. 1. Define centers of suspension and oscillation of a compound and show that they are interchangeable. Find the expression for mininium time period. 2H oR Define EM oscillation. Compare it with Mechanical Oscillation. Develop a relation of frequency of LC oscillation for under damped condition. (14242) 2. A750 gm block oscillates on the end of a spring whose force constant is 56 N/m. The ‘mass moves in a fluid of damping const 0.162 Nem. Find the period of oscillation. 3, Axoom has dimension Sm x 4m *4m. Find () the mean free path of the sound wave in the room. (i) No. of reflection made/sec by sound waves with the walls of the room. Given the velocity of sound in air is 350 m/sec. 4, What ig the power of combination of lenses of focal lengths 50 cm and 10 om which are separated by 10 cm? 5. Explain briefly, with well-labeled ray diagram, the diffraction at single slit. Show that the intensity of first maxima is 4.54% of intensity of central maxima. OR What is Nicol prism? How can linearly, circularly and elliptically polarized light be produced? Derive the relation. 6. What is Newton's ring? Describe a necessary theory of Newton's rings method for the determination of wavelength of light. 7. Calculate the minimum number of lines in a grating which will just resolve the sodium lines in the first order spectrum, The wavelengths are 5890 A° and 5896 A°. 8, Starting from energy level diagram, explain how lasers can be produced by Helium-Neon sa. : 9, What is an electric quadrupole? Calculate potential for points on the axis of the quadrupole. OR Find the electric field at a distance z above the center of e flat circular dise of radius R which carries a uniform surface charge densityc. What does your formula give in the limit Rec? 10. A long eylindrical conductor has length 1 m and is surrounded by a coaxial cylindrical conducting shell with inner radius double that of long cylindrical conductor. Caleulate the capacitance for this capacitor assuming that is vacuum in space between cylinders. 11. State Gauss Law of electrostatics. Show that electric field intensity at the surface of infinitely Jong non-conducting cylindrical symmetric uniform charge distribution is ‘maximum, 6) 6) 6) 23) 243] [4 6) 6) [144] 04)12, Caleulate the mean fiee path end mean fiee time between collisions for the coiduction, electrons in copper having electron density 8.5 *10"/em? and resistivity 1.7 x10* Om, Given: charge of an electron = 1.6 x 10°C, mass of an electron = 9.1 x 10°! kg and speed of an electron = 1.6 x 10° m/s. : 13. Compare the methods of Biot and Savart law and Ampere's law to calculate magnetic fields due to current carrying conductor. Calculate magnetic field at an axial distance 'x’ ‘rom the center ofthe circular coil carrying current. OR Explain Hall Effect, Derive an expression for Hall coefficient for an electron. 14. In a LR circuit, the current builds up to 20% of its steady state value in 3 sec. What is the inductive time constant? 5° Rs where B is eleotric field, B is magnetic field; yup and & are the permeability and permittivity of free space. 16. A beam of electrons having energy of each 3eV is incident on a potential barrier of finite height 4eV. If the width of the barrier is 1 nm, calculate the percentage transmission of the beam through barrier. 15. Prove that [5] (243) +4) 6) 6) [5]Examination Control Division "TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING 2079 Baishakh : Subject“ Engin Gaia Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. “All questions carry equal marks. ‘Assume suitable data if necessary. Derive a differential equation for damped oscillation, Write it solution and angular frequency. Hence discuss all three cases of damped angular frequency and corresponding motion. OR Derive a relation to determine the radius of gyration of @ compound pendulum. Why determination of acceleration due to gravity is more accurate from a compound pendulum ‘than a simple pendulum? ‘A circuit has L = 12 mH, C= 1.6 uF and R= 1.5 2) After what time twill the amplitude of the charge oseillatons drop to one half of ts initial value? b) To how many periods of oscillation does this correspond? What are particle velocity and wave velocity? Find the relation between them. 4, What is chromatic aberration of a lens? Obtain the condition of achromatism in the case of combination of two lens of the same material, “What is diffraction of light? Explain how can you obtain the wavelength of light using a diffraction grating. oR Define interference of light. Analytically explain the condition for maximum and minimum intensity and hence show graphically the variation of intensity with phase angle. ‘A screen is placed 2m away from a narrow slit which is illuminated with light of ‘wavelength GO00A®. If the first minimum lies 5 mm on either side of the central maximum, calculate the slit width. Find the specific rotation of a given sample of sugar solution ifthe plane of polarization is tamed through an angle 25.2°. The length of the tube containing 15% sugar solution is 20 om. Calculate the numerical aperture and acceptance angle of optical fiber in which refractive index of core is 1.62 and that of cladding is 1.52.9. Give the general method to calculate the electric field due to continuous charge distribution. Use it to calculate the electric field intensity at a perpendicular distance ‘y’ from the infinite rod having a linear charge density 2. OR What is electric field? Calculate the electric field at a distance x from the center of ring of charge. Show that if a negative charge -q is placed near the center of charged ring, the motion of charge ~q will be simple harmonic. 10. A parallel plate capacitor has a capacitance of 110 pF, with a plate area of 90 em? is filled with a substance of dielectric constant k = 5.5. A. potential difference of 50 V is ‘maintained between plates. Determine: a) The electrifield strength in the dielectrics, b) The magnitude of free charge on the plate, ©) The magnitude of induced surface charge. 4) The magnitude of polarization vector. 11. Discuss microscopic view of conduction. Show that resistivity and conductivity are independent of applied field and depends on nature of material. 12. Compare Biot-Savart law with Amper's law to calculate magnetic field due to current carrying conductor. Calculate the magnetic flux density at an axial distance ‘x’ from the centre of the coil of radius ‘R’ carrying a current ‘i, OR Describe the working mechanism of cyclotron. Find the expression for maximum energy of a.rotating particles in a cyclotron. Write its limitation. How can you overcome its limitation? 13. A long circular coil consisting of 100 tums with diameter 1.2 m carries a current of SA a) Calculate the magnetic field at a point along the axis 80 cm from the center. b) At what distance from the center, along the axis, the magnitude of field is 1/8 times its value at the center? 14. A uniform magnetic field of strength 8.0 T is applied perpendicularly on a rectangular ‘metal strip of width 2.0 mm and thickness 15.0 um. A current of 1.SA is passed along the length of strip and a transverse voltage equal to 350pV is measured across its width. Calculate a) The average velocity of the electron in the metal. b) The number of conduction electron per unit volume in this metal. 15. Mention the Maxwell’s electromagnetic equations in integral and differential form. Show that the electromagnetic wave propagate with the speed of light in free space. 16. A particle of mass M is confined in one dimensional infinitely deep potential well of width ‘L’. Calculate the wave function and energy eigen value. Hence draw the wave function and its corresponding probability density for first three Quantum number.‘TRIBHUVAN UNIVERSITY [ Exam, 80. INSTITUTE OF ENGINEERING Level BE ‘Fall Marks Examination Control Divisi BEL, BEX, BEI : ae . eas Programme | BCT, BAM, BIE, Pass Marks.) 32 BAG, BAS_ 2078 Kartik fWear/Part [1/1 Time shes. S448 A string . Light is incident normally on a grating 0.Sem wide with ~ separation for the principle maxima of two sodium lines (hi ‘Subject: - Engineering Physics (SH#02) Candidates are required to give their answers in their own words as fer as practicable. Attempt All questions. ‘Alll questions carry equal marks. “Assume suitable data if necessary. Derive the time period of physical pendulum. Show that its time period is minimum when ength of pendulum is equal to radius of gyration. OR Derive differential equation for LQ-oscillation. Show that the maximum values of electric and magnetic energies stored in LC cirouit in equal. ‘A solid sphere of mass 3kg and diameter 0.20m is suspended on a wire, Find the period of angular oscillation for small displacements if the torsional constant of the wire is 6x10°Nm/rad. ‘has linear mass density 530g/m. and tension SON. We send a sinusiodal wave litude 6.5mm along the string, At what average rate does with frequency 120Hz and amp! the wave transport energy? ‘What aro Newton's rings? Give the necessary theory for the determination of refractive index of liquid using Newton's ring method. i. OR “What is double refraction? Show that linearly and circularly polsrized light are the special cases of elliptically polarized light. 2500 lines. Find the angular = 589,0nm and 21=589.6nm) in te first order. Are the two lines resolved? Show that diameter of the circle of least confusion is independent of the focal length of Tens in the case when object is at infinity. ‘Two lenses of focal length +5.5em and +4.5cm are separated by a finite distance. Find the position of principle points ifthe combination satisfies the condition of achromatism. Define optical fiber. Derive the expressions for acceptance angle and numerical aperture of optical fiber. Prove that the electric field due to a short dipole at a point on axial line is twice thet on the equatorial line, : OR Discuss Gauss's law in electrostatics, Find the electric field intensity at a point outside and inside the uniformly charged non-conducting sphere of radius R.| | 10. A capacitor 6f capacitance C is discharged through a resistor of resistance R. After how many time constants is the stored energy 4% of its initial value. 11, Discuss a microscopic view of Ohm's law and show that resistivity of a conductor is independent of the exterrial electric field. 12, Detive the expression of magnetic flux density at a point on the axis of a circular coil éarrying current with N number of tums. Explain how the coil behaves for large distance: OR j ‘Show that the electrical energy density and the magnetic energy density ‘are proportional to square of their corresponding fields. 13, Deuterons in cyclotron describe a circle of radius 0.32m just before emerging from dees. ‘The frequency of the applied emf is 10 MHz. Find the flux density of the miagnetic field and velocity of- deuterons emerging out of the eyclotrons. (Mass of deuteron is 3.32107%Kg) 14, Find an expression of the self inductance of a toroid having N number of tums, radius and carrying eurrenti. 15. The maximum electric field 20m from an isotropic point source is 1.5V/m. Determine: a) the maximum value of magnetic field 'b) average intensity of light ©) power of the source 16, Prove: that the energy levels are. quantized, when an electron is confined in an infinite potential well of width a, aes‘TRIBHUVAN UNIVERSITY INSTITUTE OF ENGINEERING Examination Control Division | | Programme I 2078 Bhadra [Near 7Pant [1/1 [Time 3 ‘Subject: - Engineering Physics (SH 402) Candidates are required to give their answers in their own words as far as practicable. Attempt All questions. All questions carry equal marks. ‘Assume suitable data if necessary. S488 Deduce the formula for the time period of compound pendulum and show that it is ‘minimum when length of the pendulum is equal to radius of gyration. r, Develop a differential equation of forced oscillations in LCR series circuit and find an expression for resonant frequency. 2. A String has linear density 525gm/m and tension 45N. When a simisoidal wave of frequency 120Hz and amplitude 8.5mm is sent along the string, at what average rate does the wave transport energy. 3. What is meant by reverberation time. Detive the relation of sabine's formiula. Also explain the growth and decay of sound in a hall. 4, What is chromatic aberration? Derive an expression for the condition of achromatism of two thin lenses in contract. 5. What do you mean by coherent sources? Derive necessary theory of interference due to wedge shape thin film. 6. The spacing of a atomic planes in a crystal is 3.1x10"°, When a monochromatic beam of Xray is incident on them at incident angle 82°30' second order image is produced, calculate the glancing angle for the 4" order image. 7. A 200mm long glass tube is filled with a solution of sugar, containing 15 gram of sugar in 100ml of water. The plane of polarized light, passing through this solution, is rotated though 20° 30’. Find the specific rotation of sugar. 8. An optical fiber has numerical aperture 0.22 and refiactive index change 0.012. What are the values of refractive index of core and cladding? 9. Define the term quadrupole. Derive the relation of the electric potential due to linear quadruple along its axial line. oR Derive an expression for electric field intensity due to the non-conducting spherically symmetric charge distribution of radius R at point (i) inside sphere (ii) outside sphere by using Gauss law. Also write down the significance of Gaussian surface.i | i 10. Two similar balls of mass m and charge q are hanging from silk thread of length J. These {wo balls are repelled by angle 28, prove that the separation of the balls as 2 Ws x ( i | » assuming 6 is very small, 2regmg 11, An electron with kinetic energy 2.5 KeV circles in a plane perpendicular to a uniform ‘magnetic field. The radius of the orbit is 25em, Calculate (the speed of the electron (i) the flux density of magnetic field (iil) the number of revolutions per second. 12, What is the average time between collisions of free electrons in copper wire? Given, atomic weight = 63 ‘gm/mol, denisty = 9gm/cm®, resistivity = 1.7x10°Qm and Avogadro's 0 = 6.0210 mot. 15. State and explain Biot and Savarts law. Derive an expression for magrietic field due to current carrying circular loop at axial ine. OR Derive an expression for the growth and decay of current in LR circuit, Explain the ‘meaning of inductive time constant. 14.4 l0eV electron is circulating in a plane at right angles to a uniform field of magnetic induction of 1x10 Wh/m”. Calculate its orbital radius, cyclotron frequency and period of | evolution, ‘15; Sun light just outside the earth in atmosphere has an intensity of 1 4k Wr? Calculate the Maximum electric and magnetic fields for sun light, assuming it to be a plane wave, Given 02.99%10°m/s, 16.Show that energy of an electron that is confined inthe infinite potential well is quantized and sketch that energy level and wave function diagram for n=1, 2 and 3 for that well, ee| | i ‘RIBHUVAN UNIVERSITY ‘Exam. INSTITUTE OF ENGINEERING —_| Level BE, ‘Full Marks | 80 jnati -ol Divisit BEL, BEX, BEL ni ” Examination Control Division | p,ogramme | BCT, BAM, BIE) Pass Marts | 32 BAG, BAS 2076 Chaitra ‘Year /Part_| 1/1 ‘Time Shs. aA y Subject: - ‘Engineering Physics (SH 402) se eu to give tr enswer nth ovm words fara aches Attempt All questions. ‘All questions carry equal marks. “Assume suitable data if necessary. Define point of suspension & oscillation of bet pendulum & show that they are prarcbangeable, Also show that the time period will be ‘minimum, whem these points are cequidistance from centre of gravity. if : ‘What js damped oscillation? Develop 2 relation for damped frequency in LCR oscillation, Hence discuss the inderdainped, overdamped and critically damped ‘oscillations. in an oscillation, the amplitude drops to te of is ‘original amplitude-in $0sec. Find the elevation time. Also, obtain the time required to drop the amnplitide to We” of the original amplitude. ‘The reverberation time for an empty ball is 15 sec, With 500 audiences present in the hall; the reverberation time falls to 14 secs. Find the number of persons present in the all if the reverberation time falls to 1.312 see. i ‘A coaxial lens systein placed in air has two Jens of focal fesgth 36cm & 12cm separated by a distance 24cm, Find the position of the cardival points. at is Newton's Ring? How can it be used to determine the reftactive index of the liquid? : or, Disouss the similarities @ difference of Youngs double slit interference & single slit “Rdtaction, Interrelate the discussion to explain the formation of spectra by diffraction in asingle slit. Show the intensity in the fist and second order in o single slit difftaction. reduced approximately to 4.59% and 1.6% of its central maxima, ‘Two polarizing sheets are placed together with thei, transmission axes-crossed. A third * Sheet is inserted between them with “fs transmission axis at an angle of 45° with respect to cach of the other axes. Find the fraction of incident ‘anpolarised Light intensity transmitted by the combination. ‘What is the fiber opties? Discuss the physio behind the optical fiber transmission, Derive Trexpression for acceptance angle of an optical fiber Define electric quadrupole and quadrupole moment, lence, detemmine the expression for oot field intensity due to the quadrupale at axial Tie. Or, state and prove the Gausss law in electrostatics, Apply ‘his law to determine the electric eid intensity at a point inside the uniformly charged non conducting solid sphere.
You might also like
Bei I-I
PDF
No ratings yet
Bei I-I
176 pages
C Past Questions
PDF
No ratings yet
C Past Questions
14 pages
C Programming Past Updated - 2080
PDF
No ratings yet
C Programming Past Updated - 2080
32 pages
Cprog1 1
PDF
No ratings yet
Cprog1 1
36 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
("!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
21 pages
Computer Programming
PDF
No ratings yet
Computer Programming
36 pages
Engineering Questions
PDF
No ratings yet
Engineering Questions
162 pages
Bceq I I PDF
PDF
No ratings yet
Bceq I I PDF
171 pages
PIC Previous Year Mid Term and End Term
PDF
No ratings yet
PIC Previous Year Mid Term and End Term
17 pages
C
PDF
No ratings yet
C
64 pages
FinalAssesmentModel 2081 (Student)
PDF
No ratings yet
FinalAssesmentModel 2081 (Student)
3 pages
Computer Programming
PDF
No ratings yet
Computer Programming
21 pages
WWW - Manaresults.Co - In: C Programming
PDF
No ratings yet
WWW - Manaresults.Co - In: C Programming
5 pages
WWW - Manaresults.Co - In: Computer Programming
PDF
No ratings yet
WWW - Manaresults.Co - In: Computer Programming
4 pages
Programming in C BE All
PDF
100% (1)
Programming in C BE All
11 pages
PC Previous Year Question Papers
PDF
No ratings yet
PC Previous Year Question Papers
5 pages
PPS Pyqs
PDF
No ratings yet
PPS Pyqs
10 pages
Adobe Scan 16 Sep 2023
PDF
No ratings yet
Adobe Scan 16 Sep 2023
30 pages
C Programing Imp Questions
PDF
No ratings yet
C Programing Imp Questions
8 pages
Pic Pyq
PDF
No ratings yet
Pic Pyq
13 pages
Jntuk 1-1 r16 Q.P Dec 2016 - Computer Programming
PDF
No ratings yet
Jntuk 1-1 r16 Q.P Dec 2016 - Computer Programming
4 pages
C Programming 2072
PDF
No ratings yet
C Programming 2072
2 pages
BOP Paper 2019
PDF
No ratings yet
BOP Paper 2019
6 pages
Pps Question Bank
PDF
No ratings yet
Pps Question Bank
8 pages
Pps Previous Papers
PDF
No ratings yet
Pps Previous Papers
8 pages
Maximum Time Allowed Is 45 Minutes, After Which The Loose Answer Scripts Will Be Collected and
PDF
No ratings yet
Maximum Time Allowed Is 45 Minutes, After Which The Loose Answer Scripts Will Be Collected and
20 pages
Previous Year Question Papers
PDF
No ratings yet
Previous Year Question Papers
12 pages
C-Programming PYQ
PDF
No ratings yet
C-Programming PYQ
8 pages
Question Bank CP
PDF
No ratings yet
Question Bank CP
8 pages
PSTVIVAQUESTIONSJUBAIR
PDF
No ratings yet
PSTVIVAQUESTIONSJUBAIR
24 pages
Btech 1st Year Be2105 Programming in C 2017 PDF
PDF
No ratings yet
Btech 1st Year Be2105 Programming in C 2017 PDF
2 pages
PST-II-QB-28.8.23 (1-5 Units)
PDF
No ratings yet
PST-II-QB-28.8.23 (1-5 Units)
20 pages
Programming For Problem Solving Using C Feb 2023
PDF
No ratings yet
Programming For Problem Solving Using C Feb 2023
8 pages
CP
PDF
No ratings yet
CP
2 pages
Exam Paper C++
PDF
No ratings yet
Exam Paper C++
4 pages
Prev Year Questions
PDF
No ratings yet
Prev Year Questions
9 pages
Msbte - Winter 2007
PDF
100% (2)
Msbte - Winter 2007
2 pages
Question Bank Modified
PDF
No ratings yet
Question Bank Modified
4 pages
C Programming
PDF
No ratings yet
C Programming
4 pages
1stsem 2020 BCAC102
PDF
No ratings yet
1stsem 2020 BCAC102
4 pages
C. Programming Mid Term
PDF
No ratings yet
C. Programming Mid Term
2 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
III Sem BSC (CBCS)
PDF
No ratings yet
III Sem BSC (CBCS)
4 pages
C Programming Language Sample Question Paper
PDF
No ratings yet
C Programming Language Sample Question Paper
4 pages
132ad082018 PDF
PDF
No ratings yet
132ad082018 PDF
2 pages
INTRODUCTION-TO-PROGRAMMING-JAN-2024 (WWW - Jntumaterials.co - In)
PDF
No ratings yet
INTRODUCTION-TO-PROGRAMMING-JAN-2024 (WWW - Jntumaterials.co - In)
8 pages
CS 201 (Wbut)
PDF
No ratings yet
CS 201 (Wbut)
3 pages
I-Year, B.Tech - Common To All Branch Programming For Problem Solving
PDF
No ratings yet
I-Year, B.Tech - Common To All Branch Programming For Problem Solving
2 pages
22 Non Core
PDF
No ratings yet
22 Non Core
3 pages
B.C.A (Part I) Examination, 2019
PDF
No ratings yet
B.C.A (Part I) Examination, 2019
10 pages
C++ Unit 1-Qb With Ans
PDF
No ratings yet
C++ Unit 1-Qb With Ans
22 pages
MRC PPS-CT-1
PDF
No ratings yet
MRC PPS-CT-1
6 pages
GE6151-Computer Programming PDF
PDF
No ratings yet
GE6151-Computer Programming PDF
7 pages
C +
PDF
No ratings yet
C +
7 pages
CP Questions
PDF
No ratings yet
CP Questions
7 pages
C Previous Year Qps
PDF
No ratings yet
C Previous Year Qps
34 pages