Quizs Question

  • Python Quizs Question and Answers – Formatting – 1

    Python Quizs Question and Answers – Formatting – 1

    Q 1. What will be the output of the following Python expression if x=456? print(“%-06d”%x) A. 000456B. 456000C. 456D. error Show Answer Answer:-C. 456 Explanation The expression shown above results in the output 456. Q 2. What will be the output of the following Python expression if S=345? print(“%06d”%S) A. 345000B. 000345C. 000000345D. 345000000 Show…

  • Python Quizs Question and Answers – Advanced Formatting Tools

    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,])…

  • Python Quizs Question and Answers – Decorators

    Q 1. In the following Python code, which function is the decorator? def mk(x): def mk1(): print(“Decorated”) x() return mk1 def mk2(): print(“Ordinary”) p = mk(mk2) p() A. p()B. mk()C. mk1()D. mk2() Show Answer Answer:-B. mk() Explanation In the code shown above, the function mk() is the decorator. The function which is getting decorated is…

  • Python Quizs Question and Answers – Bitwise – 2

    Python Quizs Question and Answers – Bitwise – 2

    Q 1. It is not possible for the two’s complement value to be equal to the original value in any case.A. TrueB. False Show Answer Answer:-B. False Explanation In most cases the value of two’s complement is different from the original value. However, there are cases in which the two’s complement value may be equal…

  • CSS Quizs Question & Answers – Cross-Browser Layout Techniques

    CSS Quizs Question & Answers – Cross-Browser Layout Techniques

    Q 1. Which of the following property defines how content should behave when it exceeds the width of its enclosing element?A. overflow-yB. overflow-xC. overflow-zD. overflow-width Show Answer Answer:-B. overflow-x Explanation Syntax: overflow-x: auto | hidden Q 2. Which of the following property is used to give a 3-D sense of depth to an element?A. animationB.…

  • CSS Quizs Question & Answers – Border Elements

    CSS Quizs Question & Answers – Border Elements

    Q1. Which of the following property defines the style for the right border of an element?A. border-spacingB. border-spacingC. border-rightD. border-right-style Show Answer Answer:-C. border-right Explanation Syntax: border-right-style: dashed | dotted | double Q 2. Which of the following property defines the color of an element’s top border?A. border-colorB. border-topC. border-top-color-webkitD. border-top-color Show Answer Answer:-D. border-top-color…

  • CSS Quizs Question & Answers – Media Types

    CSS Quizs Question & Answers – Media Types

    Q 1. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.A. audio/videoB. sinkC. @mediaD. @canvas Show Answer Answer:-C. @media Explanation Example:@media screen { p { font-family: verdana, sans-serif; font-size: 17px; } } Q 2. What is the way to specify media dependencies for style sheets…

  • CSS Quizs Question & Answers – CSS Outline

    CSS Quizs Question & Answers – CSS Outline

    Q 1. Identify the outline property that specifies the amount of area extended beyond the border box.A. outset3dB. insetC. outsetD. inset3d Show Answer Answer:-C. outset Explanation It specifies a 3D outset border. The effect depends on the border-color value. Q 2. Which of the following value specifies a dashed outline?A. dashB. dashedC. double-dashD. all of…

  • CSS Quizs Question & Answers – CSS Voice

    CSS Quizs Question & Answers – CSS Voice

    Q 1. Which of the following property sets pitch or tone (high or low) for the synthesized speech when reading an element; the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text?A. voice-checkB. voice-formatC. voice-pitchD. voice-volume Show Answer Answer:-C. voice-pitch Q 2. Which of the…

  • CSS Quizs Question & Answers – CSS Text

    CSS Quizs Question & Answers – CSS Text

    Q1 . Which of the following CSS property determines how overflowed content that is not displayed is signaled to the users?A. text-flowB. text-underflowC. text-overflowD. none of the mentioned Show Answer Answer:-C. text-overflow Q 2. Which of the following sets the mode for the overline text decoration, determining whether the text decoration affects the space characters…

Latest posts

What our customers are saying

LIZ S.

Working with Alisa on my It was very good work. I really enjoyed that. Even my tutor was quite empress with my work.. Thank you, Alisa!

MIKE A.

Thanks for your support but I need to do the major corrections on it. Anyways, thanks for your contribution ~

KAREN P.

Excellate work done by writer, it is unexpected file every thing is perfect which i want

You cannot copy content of this page