0% found this document useful (0 votes)
621 views13 pages

AAUA Computer Science 200 Level First Semester Past Questions

This is compilation for Adekule Ajasin University, Akungba-Akoko Computer Science department past question dated 2024.

Uploaded by

DANIEL FADAMITAN
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
0% found this document useful (0 votes)
621 views13 pages

AAUA Computer Science 200 Level First Semester Past Questions

This is compilation for Adekule Ajasin University, Akungba-Akoko Computer Science department past question dated 2024.

Uploaded by

DANIEL FADAMITAN
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
You are on page 1/ 13
& ADEKUNL® AJASIN UNIVERSITY, AKUNGBA AKOKO, DEPARTMENT OF MATHEMATICAL SCIENCES, EMUSTER EXAMINATION, 2020/2021 ACADEMIC SESSION COURS® ‘TITLE: MATHEMATICAL METHODS 1 as COURSE CoDR; MAT 201 CREDIT: 03 DURATION: 2 HOURS 30 MINUTES INSTRUCTIONS, @ Firs’ Answer Question 1 and any other THREE questions. Gi) Do not write on your question paper: Que. 1 (Computsory) & By the integral test, show that, > !3 iy convergent. (5 marks) . Find a power series about 0 that represents the function 2. (5 marks) ©. IEU end V are differentiable functions of x, show that (5 marks) a (0) _ve-ve ae \V ve 4. Investigate the stationary values of the function P+ yt + ny-+52- Sy +8. (5 marks) ©. A wire takes the shape of the semicircle 2? + y? = 1, y 2 0, and it is thicker near its base than near the top. Find the center of mass of the wire if the linear density at any point is proportional to its distance from the line y ~ L (5 marks) Que. 2 a, Determine the absolute convergence of the following series using the ratio test: (5 marks) 2 8 oo 2-545-Ft the stationary points of the funetion U = 2?-+y* subject to the constraint 22+ y? +20 — Qy+1=0. (5 marks) ©, Evaluate [fvincras In where B= [1,2] » (0,=]- (5 marks) Que. 3 a, Given that (5 marks) and deterinine the Maclaurin series for the following (i) sina’ (ti) eos BW. 1. State the following theorem {@) Mean Value Theorein, (1 mark) (i) Cauchy Mean Value Theorem, (4 mark) ML Let C= zeos(ys). Obtain all the partial derivatives of the second order. (9 marks) ©. Eyaluate (G marks) Que. 4 & Evaluate f¢ 27 ds, where C consists of the are Cy of the parabola y = 2? from (0,0) to (1,1) followed by the line segment C; from (1,1) to (1,2). (5 marks) D. Given that d 12 = 208 ond y = 342, Obtain 4 and show that it is 62%y¢(2yt + 3x). (5 marks) ©. Use the Lagrange’s metho: u xi of undetermined multiplier to obtain the stationary values of the function U = 2? + y+ 2, subject to the constraint d(z,y,2) =a? 2?-2=0. (5 marks) Que. 5 4. Starting with (5 marks) 272, show by integration of power series that the series for tan”? x is represented by tanta Lowey b, Determine the stationary values of 2 = 2 ~ 3+ ry? ond their nature, (5 marks) ci, State Leibnite rule. (1 mark) Evaluate e* cos.x using Leibnitz, rule when G4 marks) Que. 6 a. Show that is convergent and find its sum. (5 marks) b. Find the interval of couvergence of the power series (5 marks) x ¢, Evaluate the triple integral (5 marks) {Ico B is the rectangular box defined by B= {(ny2)|0S2 rin steven: 4 ADERKUNLE MIASIN UNIVERSEDS. \RUNGRA AKOKO. PACULPY OF SCL. NCE, DEPARTMENT OF COME LPR SCIENCE AMIN VION FOR 20202021 ACADE BSc. DEGRI SESSION, COURSE TITLE: Data Structures ni! Meorithn COURSE UNIT: 3 | COURSE CODE: EsC201 COURSE STATUS: Core | ALLOWED: 21 DATE: 3101/0022 | ion 1 and any oth two (2) He short netes atv any five 48) of the fallawinns sovting algorithms (9 Bobble sort Gi) hesertiow sont, (il.t Selection souk vs) Thee sort (x )eap sort, (vin) SoH (VL) Bucket or Bin ysl eh ort and (is.) Radi sort tratesiess (i) Brute force (4) Divide and conquer in Compute Scignce. the obyiows way tn store am ordered ealleetion ol Ha aeray consisting oF inteser numbers as Hollows: 173,90, 79, 4.6, $0) Explain Unsorted 1-0 array. Sorted 1D arra and 7-1) arrays. | (a) Define an al 1 articular task (b) Write simple alyorithms tina inary Search ts any high lovel fa (a) Deseribe searching alyoriitian (b) Write a simple atvesithin fora Linear Search using a tn © Ol Your choice £6) Chess is one of the common computational problem, describe the chess ri sn SG) Write a general alyorithny for (i) Selection Sort Gi) Insertion Sort (0 What are the factors that determines good alyorithn? 5 (9) Explain the following graph based algorithins: (Mini ial Spanning ‘Trees Gi) Traveling s esperson problem (b) Explain shortest paths in a graph DEPARTMENT OF PHYSICS AND ELECTRONICS ADPKUNLE AJASIN UNIVERSITY, AKUNGBA AKOKO, ONDO STATE B.Sc DEGRER EXAMINATION 2020/2021 SESSION COURSE TLE: DIGHTAL ELE TIME ALLOWED: 2.0 HR PRONI Answer any FOUR Questions Question 1 i 1a. With the aid of relevant diagrams and truth tables, write short notes on the three (3) basic logic operations and gates, Ub. Proof that A+ (A +B) = Ie, State . Hence, proof that A+ (A+B) = AB t and second DeMorgan’s theorem. Question 2 2a, Define the following terms: Kornaugh’s map id, Truth Table iii. Canonical sum of products (SOP) iv. Canonical Product of Sum (POS). 2b, i, Using a K -map simplify following Boolean function of four variables. F (A,B, C, D) = 50,1.2,4,,9,1112,14,15 ) i. Draw the Logic implementation circuit diagram of the implified Boolean function. Question 3 3a, With the aid of diagram describe the following terms: i, Time Division Multiplexing (TDM) fi, Frequency Division Multiplexing (DM) iii, Wavelength Division Multiplexing (WDM) b. List 3 applications of multiplexers and give the expression for the Boolean equation for a 4-1o-1 inultiplexer stating the meaning of each symbols used, c. Complete the truth table below for a 2-10-1 Multiplexer [Select] Taput | Output] fo [ole | oo fi “| 1 io fot Question 4 a. Describe alphanumeric codes? b._ Using the table belo [Character | P| A [Decimal | 80] i Encode PAY 5S in ASCII code ii Atach an odd and even parity bit to the ASCII code for §. Laver the gray code 1101101 and 1010101 to binary code. ode. a, pibewise, conver the binary code 011011001 nnd 00110 10 BAY COME eas a i tra Find the excess 3-equivatent of (4352)j0. How many bytes are needed t0 message Question § Conve GF.CA)is to a number in octal system, Find the 9's and 10's complement of the number 11001101 €. Given that x0y 1012 = 45,0, find the value of x and y 4. Find the 1's and 2's complement of 110110011 . ¢ the binary equivatent of the hexadecimal number TBD is Find the subtraction of 110110 and 10110 using the 2's complement method Question 6 a. Describe a “Multiplexer “with the aid of a schem: b, List any 5 types of multiplexing technologies ©: Complete the tr uth table (F, F> F; Fy) using the diagra m below ofa single bit 1-to-4 demultiplexer. S180 to fey P2Fs Fo 51S0| to [arse re b- eile S180] to ley FoF i Fe S1So/ to [SEF Re & -Asingte pi 1 4 Demubipione— 4 EKUNLE AJASIN UNIVERSITY, AKUNGBA AKOKO FACULTY OF SCIENCE DEPARTMENT OF COMPUTER SCIENCE B.Sc. DEGREE - FIRST COURSE TITLE: Assembly STF EXAMINATION FOR 2020/2021 ACADEMIC BESS! COURSE CODE: CSC 215 COURSE: srarus: coe __TIME ALLOWED: 2 Hours 1/202) __—— _ INSTRU TION: Answer any four (4) _ re QUESTION ONE a b. c cgoties of pointer registers: (i) Instruction pointer fii) Stack pointer (ii,) Base pointer 4! Marks Explain the following flag registers: (i) Overflow fog (ii,) Interrupt flag (ii) Parity flag (iv.) Zero flag @ Marks State four (2) examples each of 32-bit registers and 16-bit registers in IA-32 architecture. 5 Marks Explain the following «: QUESTION TWO. a, Write short note on what you understand by Assembly Language and stale at least five (5) advantages of Assembly Language. 5 Marks by. Convert the following decimal into their binary equivalents: (i) 75 (ii.) 60.75 (iii) 55. 9 Marks c. Convert the binary number 1010 1100 1101 1001 into its hexadecimal equivalent. 3} Marks QUESTION TAREE ‘a. Using the combination of both TIMES directive and DEFINE directives write an ascembly language program that displays twelve asterisks (1). 75 Marks b. State the fall meaning of the following reserved directives: (.) RBSB Gi.) RESW (iii) RESD (iv.} RESQ (v.) REST 5 Marks ¢. Mention and discuss the use of three constants define directives im assembly language. 5 Marks QUESTION FOUR State and explain the different sections an assembly language program can be a. divided into. 6Marks b. What are comments in assembly language? How do you add comments to your program in assembly language. 3 Marks Writ @ program in assembly language that display “Computer Science, AAUA” 6 Marks List 3 differcat assembler programs that you know 2} Marks QUESTION Five Write an assembly language program that reads your matric number {rom the Keyboard and displays it on the screen. 3 Marke ¥. What are Assembly Systein Calls, se © Write a system call code yrite, 5¢ Marks snippet to initiate sys_exit and sys_write. 6; Mar! QUESTION sxx @. Write short notes on the fol Janguage statements fi) Register ng addressing modes explaining with assembly i essing modes (44) Immediate (it elect memory addressing mod b. Write an assembly Janguage program that ask 2 digits from a user, stores the digits in BAX and EBX registers respectivel memory location ‘re add the values, stores the result in a and finally display the result. 8 Masi larks Explain the term ‘Assembler directive iat ADEKUNLE AJASIN UNIVERSITY, AKUNGBA AKOKO FACULTY OF SCIENCE DEPARTMENT OF COMPUTER SCIENCE _.B-Se DEGRRE - FIRST SEMESYRR EXAMINATION FOR 2020/2021 ACADEMIC SESSION COURSE TITLE: — ScinNTIFIC PROGRAMMING [FORTRAN) COURSE UNIT: 3 COURSE CODE: CSC 211 COURSE UNIT: Core _ZIME ALLOWED: — 2*Hours DATE: 09/02/2022 INSTRUCTION: Answer question 1 and any two (2) questions in all. Each question must start on a new page 1a. Write @ complete FORTRAN program that reads in two input values. The first value read in is a real number, R, and represents the radius ofa citcle, The second value read in is a single alphanumeric character, CHAR, and is used to determine if the program shobld calculate and output the circumference of the circle With radixe R, the arca of the circle with radius R, or the diameter of the circle with radius R. (If the user types C for CHAR, caloulate the circumference; ifthe user types A’, ealeulute the area; ifthe user types 'D', calculate the diameter), ‘You do not have to comment the program. The program does not have to recover from errors in user input, Use the value 3.14159 for pi 15 marks 1h. A magic square isa set of numbers arranged in @ square array so that the sum of the numbers in each row, the sum of the numbers in each column and the sum of the ntimbers along each diagonal are all equal. This sunn is known as the magie number of th's particular magic square. Code in FORTRAN to generate these two 3.x 5 magic squares. 23578 92764 35736 46843 57887 861081 10 marks 2a. Assume you have coin with face value 50, 20, 10, 2 and 1, Write a program which reads in the price of some items which is not greater than 100 and finds the fewest number of coins whose sum equals this pr “write out how many of each value coin is used. Stop If the original price is 0. 16 marks 2b. Progtammatically get the value of temperature in degree Celsius (°C) from the known value in degree Fahrenheit (2) using the formula °C =5 x (f—32)/9. 5 marks 3a, Using a SELECT CASE block and integer division write @ program that reads in a decimal aumber between ‘O.und 9 and prints out the equivalent ia Roman Numerals. This means if the number | is inputted in the program, its ouput will be i, Demonstrate that your program works with the numbers: @ 10 Giy3t 10 marks Page 1 of 2 3b. Write a FORT solve for eq 4a RAN program to solve any quadratic equation. The program should be able to decide and roots, comple roots and real roots using the quadtatic formula, Smarks ‘ortran program to rea minimum, masinwum, sun, Write a led follow: cries of mmbers from a file and compute some statistical information J standard n. ‘The standard deviation is calculated as nua dovinion Earerane= TaN 40 marks Ab. The gradin all other unive Fortran progr system in Adckunte Ajasin University follows the conventional grading system used by mostly “sity, with 7Omarks abave indicating grade and 40marks below indicating grade F. Write a wan to depict this grading system. aii Weite a program to accept three integer lengths, and determine the type of triangle the lengths ean be defined with, cithes equilateral, isosceles or sealene triangle, Note: Equilateral triangle has 3 equal lengths, Isosceles triangle has 2 equal lengths and sealene triangle has no equal length. Smarks Sb, Using select case construct, write a program that displays whether numbers between 1 and 10 is prime number oF not 5 marks Se. with the aid of appropriate programming example, explain the difference between the DO WHILE loop and the FOR Toop, S marks Page 2 of 2 FACUI DEPARTMENT OF DEGREE FIRST SEMESTE Course Title: Digital Computer Logie ‘Course Colle: Units Tnstrvetions: 4) QUESTION (a) Briefly explain Digital Systems and describe its anatomy. (Gmaria) (©) Reduce the following logic gates: newer Question Land any other 24) (Gmarks) r 6 ? F J (€) All switching devices are essentially of evo states. Briefly explain, ; (Smarks) (©) Given the table below: Complete the missing parts under the Signed Magnitude, 2's Complement sind 1s complement. 1 must be done using a 4-bit format, (marks) Ps Complement iy XYe XY" (marks) QUESTION 2 (a) Consider the truth table below: A 1B JC Plot the above on a Kamaugh Map and present the corresponding Boolean function (Smarks) (b) Given that F[A(C + BY + ABYC’ + AC’) , Construct the truth table andl use it to determine the ouputof: a : (marks) ©) Conver: @ 2D y« to binary Gi) QED, to decimal, Gil) 1001101.0101 11) to Hexadecimal (6marks) a Shop has the following three (3) toppings available: Onion (0), Beef (B) and Tomato (Smarks) would be of the form: onion, not onion ete, (4marks) (©) Use the Boolean thearems to solve or evaluate for: GAB DEF 1 Gi) (AB +D\AB 4 DY Gil) ABC’ + (ABC’Y Specify the theorems being used. (Gmaris) (2) Mention any Four (5) unit used to measure the memory of digital eomputers (marks) QUESTION 4 (a) Find the Complement of: WA eB (ii) (AB'+ ED" + EY (4marks) (b) State and illustrate the Principle of Duality Qmarks) (©) Briefly explain the three basic logic gates using their graphic symbol, algebraic functions ancl corresponding truth table (8marks) (d) Simplify'A'B'C! + A'BC! + A'BC# ABC! with Karmaugh map and prevent the simplified Boolean expression with 2 logic gat. (Smarks) QUESTION 5 (a) Prove the following theorems Algebraically: () X(X+Y)= XY (i) X+XY=X (I) XVEXYHX (iv (AF BYAFB)=A (12marks) (b) Canonical form is another way oC expressing Boolean expressions. State and describe the two (ypes discussed in this course, (4marks) (©) Mention any Two (2) method for representing both positive and negative numbers on (4marks) digital computers ADEKUNLE, nner ae, AKUNGBA AKOKO Fact NCE DEPARTMENT OF COMPUTER SCIENCE B.Sc. DEORKE - FIRST SEMEBTER EXAMINATION FOR 2020/2021 ACADEMIC SESSION COURSE TITLE: Operating System | ‘COURSE UNIT: 5 COURSE CODE: csc 205 COURSE STATUE: C DATE: Ist Feb., 2022 TIME ALLOWED: 2 Hours - INSTRUCTION: Annwer got eona Only, Question 1 is compulsory. Ja, What is Operating System? (Smarks) b. Explain the funetions of an Operating System (Smarks) ‘&. Write short notes onthe following categories of Operating System: (Smarks) Batch OS i, Multiprogramming OS ii, Time Sharing OS iv. Real Time OS v. Network OS 4. Discuss the unique attributes of 32-Bit and 64-Bit Windows Operating Systems (Smarks) ©. Describe Physical Memory Management with a vivid example. (Srgarks) "te 2a. What are the key functions and features of Kernel in an Operating Sysitine : (marks) b. Differentiate between Monolithic and Mierokerel Operating Systems. (Smarks) Describe the functions of the following in Operating System? (Smarks) m Scheduler ii Device driver 3a. Explain the methods used in Inter-Process Communications. (Smarks) b. What makes a Thread significant? (Smarks) What are the possible OS requirements for a Cloud System? (Smarks) 4a. Whatiis a process? What are features in a main memory? (Smarks) b. Describe the Process Lifecycle of an Operating System (Smarks) c. Differentiate between Single-Threaded and Multithreaded Process. (Smarks) 5a. Whatis the role of a Dispatcher in a Process Management? (Smarks) b. Explain Context Switching in Process Management. (Smarks) c _ Am Operating System maintains some scheduling queues. Explain the queues. (marks)

You might also like