Tag: United State

  • Python Multiple Choice Questions – List Comprehension

    Python Multiple Choice Questions – List Comprehension

     Python Multiple Choice Questions & Answers (MCQs) focuses on “List Comprehension”. Q 1. What will be the output of the following Python code snippet? k = [print(i) for i in my_string if i not in “aeiou”] A. prints all characters of my_string that aren’t vowelsB. prints all the consonants in my_stringC. prints all the vowels…

  • C++ Programming Questions and Answers – Abstract Classes – 2

    C++ Programming Questions and Answers – Abstract Classes – 2

    C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Abstract Classes – 2”. Q 1. What is an abstract class in C++?A. Class specifically used as a base class with at least one virtual functionsB. Class specifically used as a base class with at least one pure virtual functionsC. Class from which any class…

  • CSS Questions & Answers – Miscellaneous

    CSS Questions & Answers – Miscellaneous

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Miscellaneous”. Q 1. Which of the following is not a combinatory?A. *B. >C. ~D. + Show Answer Answer:-A. * Explanation Combinator explains the relationship between the selectors. There are four combinators in CSS, child selector (>), adjacent sibling selector(+), general sibling selector(~), descendent selector (space). Q…

  • CSS Questions & Answers – Sliding Doors & Clipped Sliding Doors

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Sliding Doors & Clipped Sliding Doors”. Q 1. Which of the following does not support the “:hover” pseudoclass?A. IE 6B. ChromeC. OperaD. Safari Show Answer Answer:-A. IE 6 Explanation IE 6 does not support the “:hover” pseudoclass on elements other than anchor tags. To get hover…

  • CSS Questions & Answers – Table Graphs, 2D Transforms, Boxing of Images & Constrained Images

    CSS Questions & Answers – Table Graphs, 2D Transforms, Boxing of Images & Constrained Images

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Table Graphs, 2D Transforms, Boxing of Images & Constrained Images”. Q 1. What is the default value of object-fit?A. coverB. containC. fillD. none Show Answer Answer:-C. fill Explanation Object-fit has can be set with five values. When set to the value fill, it is the default…

  • CSS Questions & Answers – Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups &…

    CSS Questions & Answers – Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups &…

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus”. Q 1. Which of the following is set for horizontal offset of the shadow?A. h-offsetB. v-offsetC. blurD. none Show Answer Answer:-A. h-offset Explanation h-offset is the required value, it is for the horizontal offset of the shadow. A…

  • CSS Questions & Answers – Server Specific CSS

    CSS Questions & Answers – Server Specific CSS

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Server Specific CSS”. Q 1. Which of the following will select all elements within the class?A. .classB. #idC. elementD. element>element Show Answer Answer:-A. .class Explanation class selects all elements within the given class, #id selects the element within the given id, element>element selects all elements where…

  • CSS Questions & Answers – Print Styles and Development

    CSS Questions & Answers – Print Styles and Development

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Print Styles and their Development”. Q 1. @page is not supported in ________A. FirefoxB. OperaC. ChromeD. Internet Explorer Show Answer Answer:-A. Firefox Explanation @page is not supported in Firefox, but is supported in Chrome 2.0+, IE 8.0+, Opera 6.0+ and safari 5.0+. @page:first is supported only…

  • CSS Questions & Answers – Suppressing Element Display & Visibility, Image Rep…

    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 – Specifying Bullet Point Styles, CSS Image Alignment…

    CSS Questions & Answers – Specifying Bullet Point Styles, CSS Image Alignment…

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Specifying Bullet Point Styles, CSS Image Alignment, ID and Class”. Q 1. Which of the following is not the value for an unordered list?A. discB. numericC. circleD. square Show Answer Answer:-B. numeric Explanation For unordered list, we can use none, disc, square, circle. For ordered list,…

You cannot copy content of this page