Computer Science MCQs · PHP Which one of the following is known as the key to object-oriented programming? A Polymorphism B Encapsulation Correct answer C Data Abstraction D Orthogonality MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Polymorphism is also know as A switch B overact C encapsulation D class switching Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP ___ code makes change easier because the impact of altering an implementation will be localized to the component being altered. A Orthogonal Correct answer B Cohesion C Coupling D Balancing MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP ___ occurs when discrete parts of a system’s code are tightly bound up with one another so that a change in one part necessitates changes in the others. A Loose Coupling B Tight Coupling Correct answer C Co-relation D Balancing MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP The extent to which proximate procedures are related to one another is known as A Coupling B Balancing C Cohesion Correct answer D Co-relation MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Object-oriented code tries to minimize dependencies by moving responsibility for handling tasks away from ___ and toward the objects in the system. A server code B client code Correct answer C machine code D procedural code MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which function is used to determine whether the variable’s value is either TRUE or FALSE? A boolean() B is_boolean() C bool() D is_bool() Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP If you omit the visibility keyword in your method declaration, by default the method will be declared as. A public Correct answer B private C protected D friendly MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which keyword precedes a method name? A method B function Correct answer C public D protected MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Code that uses a class, function, or method is often described as. A client code Correct answer B user code C object code D class code MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which characters is used to access property variables on an object-by-object basis? A :: B = C -> Correct answer D . MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which version of PHP introduced the visibility keywords i.e public, private, and protected? A PHP 4 B PHP 5 Correct answer C PHP 5.1 D PHP 5.3 MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Fill in the blank with the best option. An Object is a/an ___ of a class. A type B prototype C instance Correct answer D object MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which one of the following is not a valid class name? A ShopProduct B Shopproduct C Shopproduct1 D 1shopproduct Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering What are the problems with re-structuring? A Loss of comments B Loss of documentation C Heavy computational demands D All of the mentioned Correct answer Faizan Khan Show answer Read explanation
Computer Science MCQs · HTML Which HTML tag is used to define a table row? A <tr> Correct answer B <td> C <table-row> D <row> MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which HTML tag is used to define an ordered list? A <ul> B <ol> Correct answer C <li> D <list> MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which attribute is used to specify a unique identifier for an HTML element? A id Correct answer B class C identifier D unique MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which HTML tag is used to define the structure of an HTML document, including the document's title and charset? A <html> Correct answer B <head> C <structure> D <meta> MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML In HTML, which tag is used to create an unordered list? A <ul> Correct answer B <ol> C <li> D <list> MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which of the following tags is used to insert a line break without any extra space? A <lb> B <br> Correct answer C <newline> D <break> MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML What does the HTML element <br> represent? A What does the HTML element <br> represent? B Break Correct answer C Bullet D Blockquote MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which attribute is used to define inline styles in HTML? A style Correct answer B css C design D format MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML What is the purpose of the HTML <head> tag? A To define the main content of the document B To contain metadata about the document Correct answer C To create a heading in the document D To specify the background color of the page MCQSEXAM Show answer Read explanation
Computer Science MCQs · HTML Which HTML tag is used to create a hyperlink? A <link> B <anchor> C <a> Correct answer D <href> MCQSEXAM Show answer Read explanation