Tag: Advanced

  • PHP Questions & Answers – Advanced Object-Oriented PHP

    PHP Questions & Answers – Advanced Object-Oriented PHP

    PHP Multiple Choice Questions & Answers (MCQs) focuses on “Advanced Object-Oriented PHP”. Q 1. Which of the following advanced OOP features is/are not supported by PHP? i) Method overloadingii) Multiple Inheritanceiii) Namespacesiv) Object CloningA. i)B. ii)C. i) and ii)D. iii) and iv) Show Answer Answer:-C. i) and ii) Explanation The advanced OOP features are: Object…

  • CSS Questions & Answers – Advanced Selectors

    CSS Questions & Answers – Advanced Selectors

    CSS Multiple Choice Questions & Answers focuses on “Advanced Selectors”. Q 1. Which of the following selector selects all elements of E that have the attribute attr that end with the given value?A. E[attr^=value]B. E[attr*=value]C. E[attr$=value]D. none of the mentioned Show Answer Answer:-C. E[attr$=value] Explanation Example: p[title$=”!”] {color: red;} Q 2. Which of the following…

  • Python Quizs Question and Answers – Advanced Formatting Tools

    Q 1. The formatting method {1:<10} represents the ___________ positional argument, _________ justified in a 10 character wide field.A. first, rightB. second, leftC. first, leftD. second, right Show Answer Answer:-B. second, left Explanation The formatting method {1:>> ‘%s’ %((1.23,),). Q 10. What will be the output of the following two codes? i. ‘{0}’.format(4.56) ii. ‘{0}’.format([4.56,])…

You cannot copy content of this page