{"id":225,"date":"2020-04-05T08:48:41","date_gmt":"2020-04-05T08:48:41","guid":{"rendered":"https:\/\/temp.ashkerala.com\/?p=225"},"modified":"2020-04-05T08:48:41","modified_gmt":"2020-04-05T08:48:41","slug":"computer-science-mcq-0003","status":"publish","type":"post","link":"https:\/\/temp.ashkerala.com\/?p=225","title":{"rendered":"Computer Science MCQ-0003"},"content":{"rendered":"<p>51.A point to point link that supports data flowing in only one direction at a time:<br \/> (A) Simplex link\u00a0 <strong>(B) Half Duplex link (ANS) <\/strong>(C) Full duplex link (D) Leased Line<\/p>\n<p> 52.A networking device used to connect similar types of LANs :<br \/> <strong>(A) Bridge (ANS)<\/strong>(B) Repeater (C) Hub (D) MODEM<\/p>\n<p> 53. A SIM card contain:<br \/> (A) Personal Identification Number<br \/> (B) International Mobile Subscriber Identity<br \/> (C) Authentication key<br \/> <strong>(D) All of these (ANS)<\/strong><\/p>\n<p> 55. IC 74 LS 138 is a :<br \/> (A) NOR gate<br \/> <strong>(B) Decoder (ANS)<\/strong><br \/> (C) Latch<br \/> (D) Tri-state Buffer<\/p>\n<p> 56. Binary search algorithm employs the strategy of:<br \/> <strong>(A) Divide and Conquer technique (ANS)<\/strong><br \/> (B) Dynamic Programming<br \/> (C) Branch &amp; Bound technique<br \/> (D) Greedy Strategy<\/p>\n<p> 57. Dangling &#8211; else ambiguity can be eliminated by:<br \/> (A) Matching else with nearest if<br \/> (B) Matching else with unmatched if<br \/> (C) Removing last occurrence of else<br \/> <strong>(D) Matching else with nearest unmatched if (ANS)<\/strong><\/p>\n<p> 58.Among the following, a representation that can be used for designing a system as a collection of procedures or modules:<br \/> <strong>(A) Data flow diagrams (ANS)<\/strong><br \/> (B) Activity Chart<br \/> (C) Flow chart<br \/> (D) E R Modelling<\/p>\n<p> 59. In C++, the following statements causes:<br \/> # include \u00a0<br \/> int main ( )<br \/> {<br \/> int x = 10, Y = 5 ;<br \/> int* p=&amp; x;<br \/> int* q = &amp; Y ;<br \/> p=q;<br \/> delete (p) ;<br \/> return (0) ;<br \/> }<\/p>\n<p> (A) P &#8211; a dangling reference<br \/> (B) q &#8211; a dangling reference<br \/> <strong>(C) Both p and q as dangling references (ANS)<\/strong><br \/> (D) None of these<\/p>\n<p> 60. Conversion from one data type to another data type, inserted automatically by a programming language:<br \/> \u00a0(A) . Polymorphism <strong>(B) Coercion (ANS)<\/strong><br \/> \u00a0(C) Auto Binding (D) Dynamic Binding<\/p>\n<p> 61.The process of testing individual components in a software:<br \/> \u00a0(A) Interface Testing (B) Partition Testing<br \/> <strong>\u00a0(C) Unit Testing (ANS)<\/strong> (D) Structural Testing<\/p>\n<p> 62. In C++, the operator which cannot be overloaded:<br \/> \u00a0(A) Bitwise &amp; operator (B) Assignment operator<br \/> \u00a0(C) = = operator<strong> (D):: operator (ANS)<\/strong><\/p>\n<p> 63.A solution to external fragmentation:<br \/> (A) Segmentation<strong> (B) Compaction (ANS)<\/strong><br \/> (C) Swapping (D) Thrashing<\/p>\n<p> 64. A type of inheritance in which the property of one class is inherited by more than one class<br \/> \u00a0(A) Hybrid Inheritance <strong>(B) Hierarchical Inheritance (ANS)<\/strong><br \/> \u00a0(C) Multilevel Inheritance (D) Multiple Inheritance<\/p>\n<p> 65. The worst case time complexity of merge sort algorithm for input size n :<br \/> \u00a0(A) O (n) (B) O (n^2) (C)O (log n) <strong>(D) O(n log n) (ANS)<\/strong><\/p>\n<p> 67.If a variable is declared as register type, then the operator that cannot be applied to it :<br \/> <strong>\u00a0(A) Unary &amp; (ANS)<\/strong> (B) Unary &#8211; (C) Binary &amp; (D) Binary-<\/p>\n<p> 69. What would be the output of the following C program<br \/> # include\u00a0 stdio.h<br \/> main ()<br \/> {<br \/> int x =1;<br \/> while (x &lt; = 1);<br \/> {<br \/> printf (&#8220;Good Morning&#8221;);<br \/> &#8211; &#8211; x ;<br \/> }<br \/> }<br \/> (A) Good Morning<br \/> (B) Good Morning infinite times<br \/> <strong>(C) Blank Display (ANS)<\/strong><br \/> (D) Syntax Error<\/p>\n<p> 70. In a compiler, the task of scanning the source code, to recognize and classify various elements is known as:<br \/> \u00a0(A) Code Optimization (B) Syntactic Analysis<br \/> <strong>\u00a0(C) Lexical Analysis (ANS)<\/strong> (D) Semantic Analysis<\/p>\n<p> 71.Time Complexity of Prim&#8217;s minimum spanning tree algorithm is:<br \/> \u00a0(A)O (n) (B) O (log n) (C) O (n log n) <strong>(D) O (n<sup>2<\/sup>) (ANS)<\/strong><\/p>\n<p> 72.A fact in prolog is a special case of a :<br \/> (A) Query <strong>(B) Rule (ANS)<\/strong> (C) Term (D) Goal<\/p>\n<p> 73.Grammars that can be translated to DFAs :<br \/> \u00a0(A) Left linear grammar <strong>(B) Right linear grammar (ANS)<\/strong><br \/> \u00a0(C) Generic grammar (D) All of these<\/p>\n<p> 74.An example of a compiler &#8211; complier is:<br \/> (A) JAVA (B) LEX<br \/> <strong>(C) YACC (ANS)<\/strong> (D) MATLAB<\/p>\n<p> 75.A relation R on a set X is said to be a partial ordering if R is:<br \/> (A) Reflexive, Symmetric, Transitive<br \/> (B) Reflexive, Symmetric, Non-Transitive<br \/> <strong>(C) Reflexive, Anti &#8211; Symmetric, Transitive (ANS)<\/strong><br \/> (D) Reflexive, Anti &#8211; Symmetric, Non, Transitive<\/p>\n","protected":false},"excerpt":{"rendered":"<p>51.A point to point link that supports data flowing in only one direction at a time: (A) Simplex link\u00a0 (B) Half Duplex link (ANS) (C) Full duplex link (D) Leased Line 52.A networking device used to connect similar types of LANs : (A) Bridge (ANS)(B) Repeater (C) Hub (D) MODEM 53. A SIM card contain:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[22],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-computer-science-combined"],"_links":{"self":[{"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225"}],"version-history":[{"count":0,"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=\/wp\/v2\/posts\/225\/revisions"}],"wp:attachment":[{"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/temp.ashkerala.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}