0% found this document useful (0 votes)
876 views

Event-Driven Programming MCQ Worksheet For Exit Exam 2015@

Uploaded by

Dibora Birhanu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
876 views

Event-Driven Programming MCQ Worksheet For Exit Exam 2015@

Uploaded by

Dibora Birhanu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
WACHEMO UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING AND INFORMATICS. DEPARTMENT OF INFORMATION TECHNOLOGY EVENT DRIVEM PROGRAMMING MODEL EXAM. TARGET GROUP 4™ YEAR IT REGULAR STUDENTS Time Allowed: 2:00 hours NAME, ID_N section GENERAL DIRECTIONS: v Read the questions carefully and put your answer on the provided spaces only. Ambiguous and unclear answers will not valid. Any kind of cheating will disqualify your results, DO NOT TURN ON THE COVER PAGE UNTIL YOU TOLD TO DO SO. vvy Part 1 Choice the correct answer from the given altematives, 1, Software is defined as a) set of programs, documentation & configuration of data b) set of programs ¢) Documentation and configuration of data d) None of the mentioned 2. What is Software Engineering? a) Designing a software b) Testing a software c) Application of engineering principles to the design a software 4) None of the above 3. What are the features of Software Code? a) Simplicity b) Accessibility ©) Modularity d) All of the above: 4, is a software development activity that is not a part of software processes. a) Validation b) Specification c) Development d) Dependence 5. Define agile scrum methodology. a) project management that emphasizes incremental progress ') project management that emphasizes decremental progress ) project management that emphasizes neutral progress 4) project management that emphasizes no progress 6 is defined as the process of generating analysis and designing documents? a) Re-engineering b) Reverse engineering ©) Software re-engineering 10. ) Science and engineering What is a Functional Requirement? a) specifies the tasks the program must complete! bb) Specifies the tasks the program should not complete ©) Specifies the tasks the program must not work d) All of the mentioned Attributes of good softwar a) Development b) Maintainability & functionality ) Funetionality 4) Maintainability Regardless of application area, project size, or complexity, software development work may be divided into three generic phases: the phase, which focuses on what, the, phase, which focuses on how, and the phase, which focuses on change. i. support ii, Development iii, definition a) ili, ii, b) iii, i, if oii 6) iii, iii is a software development life cycle model that is chosen if the development team has less experience on similar projects. a) erative Enhancement Model b) RAD ©) Spiral ) Waterfall s not suitable for accommodating any change? 2QANKADOO% a) RAD Model ) Waterfall Model ©) Build & Fix Model ¢) Prototyping Model 12, The model which has a major disadvantage in terms of the coding phase of a software life cycle model is a) Rad Model b) Spiral Model e) 4GT Model ) Waterfall Model 13. What is the full form of the *COCOMO” model? a) Cost Constru c Estimation Model b) Constructive Cost Estimation Model, c) Constructive Case Estimation Model d) Constructive Cost Estimating Model 14, Which one of the following is not a software process quality? a) Visibility b) Timeliness e) Productivity d) Portability 15, CLR is the NET equivalent of A. Java Virtual Machine B. Common Language Runtime C. Common Type System D. Common Language Specification 16, The CLR is physically represented by an assembly named A.mscoree.dll B.mcoree.dll C. msoree.dil D. mscor.dll 17. The __ language allows more than one method in a single class. A. C# B. J# c. CH Dc 18, All C# applications begin execution by calling the ___method. A.Class () B. Main () CSubmain () D. Namespace 19. A structure in C# provides a unique way of packing together data of. types. Different Same o@> Invoking D. Calling 20. Which of the following statements is correct about Managed Code? A. Managed code is the code that runs on top of Windows. B. Managed code is the code that is written to target the services of the CLR, C. Managed code is the code where resources are Garbage Collected. D. Managed code is the code that is compiled by the JIT compilers. 21. C# runs on the A. .NET Framework B. Java Virtual Machine C. Both A. and B. D. None of the above 22. C# programming language is used to develop - A. Web apps B. Desktop apps C. Mobiles apps D. All of the abo 23. Who is the founder of C# programming language? Anders Hejisberg Douglas Crockford Rasmus Lerdorf Brendan Eich Saw > 24. CLR stands for__. A. Common Type System B, Common Language Specification C. Common Language Runtime D. Java Virtual Machine 25. Net CLR is equivalent to? A. Common Type System B. Common Language Specification C. Common Language Runtime D. Java Virtual Machine 26. What is CLR in C#? A. Iisa virtual machine component of Microsoft NET Framework B. Itis a virtual machine component of JVM C. Itis a compiler to compiler the C# code D. Alll of the above 27. What does the CLR in C# do? A. Manages the execution of Webpages programs B. Manages the parsing of the various types CC. Manages the execution of NET programs D. Allofthe above 28. SOAP in C# stands for Simple Object Access Protocol Simple Object Access Program Standard Object Access Protocol sap Standard Object Access Program 29. "Garbage collection automatically reclaims memory occupied by unreachable unused objects." — This statement is true or false in C4? A. True B. False 30. Which symbols are used to mark the beginning and end of a code block? A. Square brackets [] B. Curly braces {} C. Round brackets () D. Double-quotes 31. Every C# statement is terminated by __. A. Colon (:) B. Semicolon (:) C. Comma (,) D. Dot () 32. In C#, a single-line comment starts with __ A. Two forward slashes (//) B, Two backward slashes (\\) C. A hash character (#) D. A dollar character ($) 33. What is the correct syntax to declare a variable in C#? A. type variableName = value; B. type variableName; C. variableName as type = value; D. Both A. and B. 34, Which data type is used to store text value in C#? A. text B. txt C. string Dz str 35. Which C# keyword is used to define a constant? A. define B. fixed C. constant D. const 36. What is the correct syntax to define a C# constant? ‘const type constant_name; const type constant_name = value; app const constant_name as type; 9 const constant_name as type = value; 37. What is the C# keyword which is used to change data and behaviour of a base class by replacing a member of the base class with a new derived member? overrides protected base scope new 38. How many catch blocks can be used with a single try block in C#? A. One B. Two C. Many D. None of the above 39. Multiple Choice Questions (40%) |.Event-driven languages are: (a)FORTRAN based (b)Are used to write procedural languages (OOP. (d)Designed to make programming GUI easier 40. What does the CLR in C# do? A. B. c. D. Manages the execution of Webpages programs Manages the parsing of the various types Manages the execution of NET programs. Allof the above 41. In C#, the multi-line comments placed within the. A. B. c D. Mand // \\and // (and */ 42. Which is the correct order for explicit type conversion to convert a larger to a smaller type in cH 43. Which is the correct C#f statement to convert a float value t A B. c Dd. . double -> float > long -> int > char > bool double > float > long > int > char float -> double > long -> int > char float -> double > long => int > char > bool explicitly? int_variable = (int) float_variable; int_variable = float_variable; int_variable = (int) (float_variable); int_variable = int *float_variable); 44, 45. Which is/are the correct method(s) to input a float value in C#? Parse(Console ReadLine()) ‘ToSingle(Console.ReadL ine()) ToFloat(Console-ReadL ine()}; Both A and B Both A and C FOO RP In C#, structures are used for __ objects such as mobiles, cars, ete, Lightweight Darkweight Extra pose Compress

You might also like