exitexam demo with answer1.docx
Document Details
Uploaded by OptimisticMagicRealism
Wolkite University
Tags
Full Transcript
55\. While searching from binary tree, how can the index should go? 1 point A. If the searched key is less than the root, go to left. B. If the searched key is larger than the root, go to left. C. If the searched key is equal to the root, go to left. D. None. 56\. Which key word is used to...
55\. While searching from binary tree, how can the index should go? 1 point A. If the searched key is less than the root, go to left. B. If the searched key is larger than the root, go to left. C. If the searched key is equal to the root, go to left. D. None. 56\. Which key word is used to de-allocate the space taken by a node? 1 point A. delete B. alloc() C. del() D. A and B 57\. Which one is easier to perform? 1 point A. Deleting a leaf node B. Deleting internal node C. deleting root node D. A and B 58\. Algorithms must terminate after a finite number of steps; What is this characteristics called\_\_ 1 point A. Unambiguous B. Feasibility C. Finiteness D. Independent 59\. \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ of an algorithm refers to defining the mathematical bound/framing of its run-time performance? 1 point A. Space complexity B. Asymptotic analysis C. Time complexity D. none of the above 60\. Which one of the following algorithms is based on dynamic Programming approach? 1 point A. Multistage Graph B. Single source Shortest Path C. Merge sort D. Chess playing algorithm 61\. Optimal merge pattern is an example of \_\_\_\_\_\_\_\_\_ Algorithm design Approach 1 point A. Dynamic Programming B. Divide and Conquered C. Greedy D. Back tracking 62\. \_\_\_\_\_\_\_\_\_\_\_\_\_algorithm traverses a graph in a Breadth-ward motion and uses a queue to remember to get the next vertex to start a search, when a dead end occurs in any iteration. 1 point A. Breadth first search B. Binary search C. Depth first search D. A&C 63\. The attribute used in the body tag to change the default font color for the page is \_\_\_\_\_\_\_\_. 1 point A. Bgcolor attribute B. text attribute C. color attribute D. link tag Which one of the following is true about static website? 1 point A. Its content will not be changed unless the actual webpage file is edited. B. It is also referred as flat pages or stationary pages. C. It will be delivered to the users as exactly stored in the files. D. Its content remains the same for all viewers of the website. E. All of the above. 65\. Which one of the following is a server side scripting language? 1 point A. PHP B. ASP C. Python D. All of the above A pop up box used to display information to user in JavaScript is called \_\_\_\_\_\_\_\_\_\_\_. 1 point A. Prompt B. Alert C. Confirm D. All of the above What does these code possibly refers to\ ? 1 point A. Defines a new CSS by the name styles B. Calls an internal style sheet called styles C. Calls an external style sheet called styles D. Defines an inline CSS by the name styles 68\. What is the preferred way for adding a background color in HTML? 1 point A. \ B. \yellow\ C. \< body style=\"background-color: yellow\"\> D. \text\ 69\. What is the method used to get the result from the form data sent with both GET and POST? 1 point A. \$\_REQUEST B. \$\_POST C. \$\_GET D. A & B 70\. Which of the following is an optional parameter one while using *mysqli*\_*connect()* method? 1 point A. Localhost B. Database C. Username D. Password From the following list, choose the most appropriate update statement 1 point A. UPDATE student ID=\"123\"; B. UPDATE student SET ID=\"123\"; C. UPDATE student SET name=\"abel\" where ID=\"123\"; D. UPDATE student SET name =\"abel\" 72\. When does page fault occur?\* 1 point The deadlock occurs. The buffering occurs The page is present in memory. The page does not present in memory. 73\. Which of the following is a condition that causes deadlock? 1 point A. Mutual exclusion B. Hold and wait C. Circular wait D. No preemption E. All of these 74\. What is an operating system? 1 point A. System service provider to the application programs B. Collection of programs that manages hardware resources C. Interface between the hardware and application programs D. All of above 75\. Which one of the following Scheduling algorithm allocates the CPU first to the process that requests the CPU first? 1 point A. Priority scheduling B. Shortest job scheduling C. First-come, first-served scheduling D. None of above What is the ready state of a process? 1 point A. When process is unable to run until some task has been completed B. When process is scheduled to run after some execution C. When process is using the CPU D. None of the mentioned 77\. A set of processes is deadlock if \_\_\_\_\_\_\_\_\_\_\_\_ 1 point A. Each process is terminated B. All processes are trying to kill each other C. Each process is blocked and will remain so forever D. None of the mentioned In Operating Systems, which of the following is/are CPU scheduling algorithms? 1 point A. Priority B. Round Robin C. Shortest Job First D. All of the mentioned 79\. In which of the storage placement strategies a program is placed in the largest available hole in the main memory? 1 point A. Best fit B. First fit C. Worst fit D. Buddy 80\. A measurement that defines the level of inter-dependability among modules of a program is\_\_. 1 point A. Cohesive B. Coupling C. Design D. Testing 81\. Which of the following are Advantages of modularization in software design 1 point A. Smaller components are difficult to maintain B. Components with high cohesion can be re-used again C. Program can be divided based on functional aspects D. Desired from security aspect Which of the following is not element of Requirement Engineering Process? \* 1 point A. Software Requirement Specification B. Feasibility Steady C. Software Requirement Design D. Requirement Gathering Which type of test determine if the system meets the entire requirements (functional and nonfunctional)\* 1 point A. Unit Test B. Integration test C. System test D. Acceptance test 84\. How is generalization implemented in Object-Oriented software engineering? 1 point A. Inheritance B. Polymorphism C. Encapsulation D. Abstract Classes 85\. All of the following are required to develop an effective test except: 1 point A. Detailed understanding of the system B. Application and solution domain knowledge C. Knowledge of the testing techniques D. Skill to specific programming language 86\. Use case description commonly contain: 1 point A. Trigger, associations, guarantee. B. Precondition, generalizations, main scenario. C. Precondition, main scenario, alternative scenarios D. None of the above 87\. Aggregation, composition, generalization. Which document is created by a system analyst after the requirements are collected from different stakeholders? 1 point A. Requirement gathering B. Software Requirement specification C. Software Requirement testing D. Software Requirement validation 88\. Choose the incorrect statement in terms of Objects. 1 point A. Objects are abstractions of real-world B. Objects can't manage themselves C. Objects encapsulate state and representation information D. All of the mentioned Which of the following is a mechanism that allows several objects in a class hierarchy to have different methods with the same name?\* 1 point A. Aggregation B. Polymorphism C. Inheritance D. All of the mentioned 90\. \_\_\_\_\_\_\_\_is a process which translate system specification into a formal or semi formal model.\* 1 point A. Implementation B. Elicitation C. Analysis D. Design 91\. Which of the following is a disadvantage of Object-Oriented Design? 1 point A. Easier maintenance B. Objects may be understood as stand-alone entities C. Objects are potentially reusable components D. Objects are difficult to maintain 92\. If a grammar produces more than one leftmost derivation for a sentence, it is called as: \_\_\_\_\_ 1 point A. Ambiguous grammar B. Perfect grammar C. Associative grammar D. Precedence 93\. 1. The intersection of a context-free language and a regular language is \_\_\_\_\_\_\_\_ 1 point A. context-free B. neither context-free nor regular. C. regular but not context-free D. both regular and context-free. 94\. Which one of the following is not part of Turing machine? 1 point A. Finite control B. Input C. Tape D. Head The output of lexical analyzer is\* 1 point A. Syntax tree B. Strings of characters C. A set of tokens D. set of regular expressions Which of the following is NOT the primary role of code generator in compiler design? \* 1 point A. instruction selection B. Declaration of variables C. instruction ordering D. A Register allocation 97\. Which one of the following is different from the others? 1 point A. quadruples B. triples C. tree D. indirect triples When is the type checking usually done? \* 1 point A. During lexical analysis B. During syntax analysis C. During syntax directed translation D. During code optimization 99\. Which of the following can NOT represents a target Code? 1 point A. Three address code B. Assembly language C. Absolute machine code D. Byte Code 100\. Which of the following is NOT important property of intermediate code representation? 1 point A. Ease of generation B. Ease of manipulation C. Register allocation D. Level of abstraction