Tag: Australia
-

Python Multiple Choice Questions – Sets
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets”. Q1. Which of these about a set is not true?A. Immutable data typeB. Does not allow duplicate valuesC. Data type with unordered valuesD. Mutable data type Show Answer Answer:-A. Immutable data type Explanation A set is a mutable data type with non-duplicate, unordered values, providing…
-

PHP Questions & Answers – Error Handling
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Error Handling”. Q 1. How many error levels are available in PHP?A. 14B. 15C. 16D. 17 Show Answer Answer:-C. 16 Explanation Whenever the PHP engine encounters any problem that prevents a script from running properly it generates an error message. There are sixteen error levels and…
-

Python Questions and Answers – Tuples-3
Python Multiple Choice Questions & Answers (MCQs) focuses on “Tuples – 3”. Q 1. Is the following Python code valid? >>> a,b,c=1,2,3>>> a,b,cA. Yes, [1,2,3] is printedB. No, invalid syntaxC. Yes, (1,2,3) is printedD. 1 is printed Show Answer Answer:-C. Yes, (1,2,3) is printed Explanation A tuple needn’t be enclosed in parenthesis. Q 2. What…
-

PHP Coding Questions and Answers – Arrays – 4
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Arrays – 4”. Q 1. What will be the output of the following PHP code? A. I like Volvo BMW and Toyota.B. I like Volvo, BMW and Toyota)C. I like Volvo, BMW and Toyota.D. I like. Volvo.,. BMW. and. Toyota) Show Answer Answer:-C. I like Volvo,…
-

Python Questions and Answers – List Comprehension – 1
Python Multiple Choice Questions & Answers (MCQs) focuses on “List Comprehension – 1”. Q 1. What will be the output of the following Python code? l=[1,2,3,4,5] [x&1 for x in l] A. [1, 1, 1, 1, 1]B. [1, 0, 1, 0, 1]C. [1, 0, 0, 0, 0]D. [0, 1, 0, 1, 0] Show Answer Answer:-B.…
-

PHP Coding Questions and Answers – Arrays – 2
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Arrays – 2”. Q 1. What will be the output of the following PHP code? <?php $cars = array(“Volvo”, “BMW”, “Toyota”); echo “I like ” . $cars[2] . “, ” . $cars[1] . ” and ” . $cars[0] . “.”; ?> A. I like Volvo, Toyota…
-

CSS Questions & Answers – Suppressing Element Display & Visibility, Image Rep…
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Suppressing Element Display & Visibility, Image Replacement”. Q 1. Which of the following will represent browsers in their normal states?A. CSS OFF/Images ONB. CSS ON/Images OFFC. CSS ON/Images OND. CSS OFF/Images OFF Show Answer Answer:-C. CSS ON/Images ON Explanation There are five major categories for image…
-

CSS Questions & Answers – CSS3 Transitions for UI Elements
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS3 Transitions for UI Elements”. Q 1. Which of the following method increases or decreases the size of an element using tranform?A. scale()B. rotate()C. translate()D. matrix() Show Answer Answer:-A. scale() Q 2. Which of the following selector is used to select and style when you place…
-

CSS Questions & Answers – Inheritance and Cascade
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Inheritance and Cascade”. Q 1. Which of the following Cascading order has the highest precedence?A . user normal declarationsB. user agent declarationsC. author normal declarationsD. author important declarations Show Answer Answer:-B. user agent declarations Q 2. Which of the following property is a shorthand that resets…
-

SQL MCQ Questions and Answers 3
Q 41. Which of the following query finds the total rating of the sailors who have reserved boat “103”? A. SELECT SUM(s.rating) FROM sailors s, reserves r AND r.bid = 103; B. SELECT s.rating FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103 C. SELECT COUNT(s.rating) FROM sailors s, reserves r…
