You are on page 1of 5
Daffodil Inter®4t0ual Universi ‘Department of ComPUE SERIE and Engineer, pee and Informa 3 . Te See Seam Oe Course Tile Finanels! Course Code ACT Sq | AtS0uatlng Cours Facitators DEK, ny yay ‘Exam Duration: 90 Minutes \ Answer all the questions ‘Total Marks: 25 1) ABC has started a new business on January following events and transactions occurred 1. The owner invested Tk. 120,000 in cash inthe business 2. Received Tk. 3,500 cash from customers for providing services. 3. Advertising expense of Th. 700 from the News Today on credit. 4. Purchased equipment for Tk. 35,000; he paid 15,000 incash and 10,000 on account 5. Purchased for Tk. 8.500 supplies on credit 6. Expenses on account as follows: office rent Tk. 4,000 & utility ills Tk. 700. 7. Receipt of Tk. 500 cash from the customers on account. 8. Paid his father's medical fee of Tk. 18.000. 9. Borrowed Tk. 9,000 from bank on a note payable 10, Paid Tk. 14,000 for employee salary forthe month 1a). Prepare a tabular summery of the transactions for January 2019. 2019, During the first month ofthe operation of her business, the (8) 'b)_ Show Income Statement, Owner's Equity Statement and Balance Sheet for January 2019. [1-5+1.5+2- 5] 2) XYZ has started a new business on Apri 1.2019. During the frst month ofthe operation ofr busines, the following events and transactions occurred ; 311 Invested Tk. 60000 cash in the business . ‘pct evs yee at acalan TR St pe weckpyable mony Apr} Purchaed ee supplies on acount om Halo Company ‘apr ia Pals eash Ti 3000 for 2 year inser Pv) Ty Wire Tk SOD cash fr persona 8 F APE DT Purchased ofc uipment a Parca Sorisng expenses of T, 2,900 00 220 “t xa 36 lows: reat Tk. 4.000 & bills Tk. 700 A 1 2§ | WesTes on account as flows reat Tk. pore Eeeved T2900 fr the sees tovars P. Donahue : TJ. TO) Fe. ‘Requirement: Eqn Ve 4, TRF 3 Fah com to Sew Xo i) . the basic activities of accounting, 13) Define accounting and explai OR Discus about the accounting users. 18 RI RI / Daffodil International University Department of Computer Science and Engineering Faculty of Science and Information Technology Mid Term Examination, Semester: Summer 2019 Course Title: Compiler Design Time: 90 minutes Sections: All Campus: All Total Marks: 25 ‘Course Code: CSE331 Course Teacher: All The figures in the right margin indicate the full marks. All portions of each question must be answered sequentially, 1. a) Apply Left Factoring on the following CFG. 2 PuRtY|uRt Vey |uRtalb Rb ») Eliminate the left recursion to convert the following grammar into a right recursive 3 grammar, A> AC] Aad | bd | & 245 2. Consider the following figure and answer the following questions. (i) Write down the 5 tuples of Non-deterministic finite automata. Gi) Which type of automata is? If there is non-determinism, then convert the automata into deterministic finite automata. 3. a) Write short note. (Any two) ® Tokens, Lexemes, Patterns Error Handler in Syntax Analysis ti Input Buffering b) Construct the NFA for the following expression, @ — R(RIT)*|T @) XY |JKL* 4. Consider the following CFG and answer the following questions, S>ABA|aaBA ‘A> aBa|bA B>bBB| ba 8) Show how the string abaabbabababaa can be generated by the SABA is starting production rule) by left hand derivation tat derivation. Fight hand 6) Find if the above grammar is ambiguous or not. — Best of Luck @ — Daffodil International University Department of Computer Science and Engineering Faculty of Science and Information Technology Mid-Term Examination, Semester: SUMMER 2019 Course Code: CSE 333 Course Title: Software Engineering ‘Section: ALL ‘Course Teacher: ALL Time: fours Tea! TAnswer all the Question] 1. Ree ly we are becoming addicted to Online Shopping. Hence Mr. AHR is thinking of starting an Online Shop named “Ki kinte chan Bolen (KKCB)” where you will be able to buy anything at any available time. But he is confused how to develop such a site. So, he needs your help. He has a description like below. Your job is to help him to develop the online shop KKCB. In KKCB Dealers are those who will use this online system to sell their product but have to provide a royalty to Mr. AHR. A dealer can search for a product to compare his product. He or She can also add a product like mobile, car, dress, food ete, but for that he have to be logged in. A user (who can be anyone) can search a product. He or She can buy a product. To buy a product a user needs to be logged in. User can provide ratings to a product but not before buying that. An admin can add or delete a ealer and user. Admin can create product Category but needs login. These two are separate processes. A user can put complain if any product is harmful for our health Admin will receive the complaint and decide if he wants to delete the product or not. A product can also be deleted if the dealer request to admin for deleting it. None of these are possible without login To add a product the dealer have to insert a Name for the product after choosing a category, Then the ‘quantity available. Afier that the price for each unit. Then the number of days to ship the item to the customer. Then at least two pictures of the product. To buy a product a user have to choose the product then click “Buy” button. Then choose the quantity. Provide a bKash reference number of the paid amount. Then Click “Confirm” button. Mr. AHR is not sure about his description. He might change his thought about the description when you are developing the project. So please keep that in mind. (Make all the necessary assumptions you want if needed) Construct a Use Case Model for the above stenario. Describe “Add Product" and “Buy Product” Process. Design a GUI for “Add Product” and “Buy Product” Process. What kind of SDLC you would like to use forthe above scenario. Explain. Differentiate between Sprint and Agile Model eaoge weuue yer —~ Good Luck @)-—~ ' Daffodil International University Department of Computer Science and Engineering Faculty of Science & information Technology Midterm Examination Semester: Summer 2019 Course Code: CSE 334 Course Title: Wireless Programming Course Teachers: All Time: 1.5 hours Full Marks: 25 ‘igures in the right-hand margin indicate full marks. ‘Answer all the questions. wPPose you want to build a simple Android application for checking prime number or not Prime number. Your XML. file inc ludes one TextViews (id = t1), one EditText (id = e1), One Button (id = con). Based on this scenario answer the following questions. a) Write down the java code from the above scenario, (5) ) Explain the four main components of android application. G) b) How to launch one activity trom another activity using Intent, if needed provide necessary codes? 2 8) Write down the difference between Activity and Fragment class. Explain relationship between them. 8) b) Write down the code for bution click listener which will toast along message saying “Daffodil International University”. Q © a). What is API? Mention the necessity of defining API level in Andro application B) ) What is Orientation? Explain with example. 2 5. Choose the correct answer and give the reason [s*1=5) i) What is the role of broadcast receiver in android? a. reacts on broadcast announcements b. background functionalities as services. c. passes data between activities. %. none of the above ii) How to pass the data between activities in Android? . Broadcast Receiver a. Intent - +c. Content Provider imi iii) Which ones are the Layouts in androi . ane Layo b. Constraint Layout ¢, Linear Layout 4, All the above i all iain al iv) Specify the directory name where the XML layout files are stored a. fassets », sre ¢. /res/values 4. /resMayout v) Which operating system is used as the base of the Android stack? a. Windows b, Linux c. Mac d. Unix

You might also like