google.com, pub-8658045329707802, DIRECT, f08c47fec0942fa0
Upwork Test Answers: Get all the correct answers of most recent and possible Upwork Tests A to Z (Updated on Jan, 2016)
Cover Letter Templates: These cover letter samples are not only for Upwork job, but also you will have some idea about your real life job
 
Freelance Profile Overviews: Different Profile samples and overviews of experts, advanced and intermediate level freelancers
For Newbie of Upwork: Upwork Help - How to apply for a job in Upwork with 10 most important articles about Upwork

A to Z View - All Upwork Test Answers

Upwork CSS Test Answers - part 2

Question_01:
Which of the given options is/are equivalent to the following rule?
DIV { line-height: 1.2; font-size: 10pt }
  1.            DIV { line-height: 1.2em; font-size: 10pt }
  2.            DIV { line-height: 12em; font-size: 10pt }
  3.             DIV { line-height: 120%; font-size: 10pt }
  4.            DIV { line-height: 20%; font-size: 10pt }
  5.            DIV { line-height: 80%; font-size: 10pt }
Question 2:
The sans-serif generic font-family is characterized by:
  1.            finish strokes, flared or tapering ends, or actual serifed endings.
  2.              stroke endings that are plain without any flaring, cross stroke, or other ornamentation.
  3.             either join strokes or other cursive characteristics beyond those of italic typefaces.
  4.            primarily decorate the characters while still containing their representations.
Question_03:
Which of the following properties allow percentages in their value fields?
  1.            font-size
  2.            font-variant
  3.             font-weight
  4.            line-height
Question_04:
Which of the following styles is valid?
  1.            border: “none”;
  2.            border= “none”;
  3.             border: none;
  4.            border= none;
  5.            None of the above
Question_05:
Which of the following property doesn’t take up space?
  1.            outline
  2.            border
  3.             Both a and b
Question_06:
Can a percentage value be given in a ruby-align property?
  1.            Yes
  2. b.            No
Question:_07
What will happen if the cursor property value is set to none?
  1.            The default cursor will be displayed.
  2.            No cursor will be displayed.
  3.             A pointer cursor will be displayed.
  4.            A text cursor will be displayed.
Question:_08
What is the range of values (in decimal notation) that can be specified in the RGB color model?
  1.            0 to 256
  2.            0 to 255
  3.             -250 to 250
  4.            -255 to 255
Question_09:
The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?
  1.            #fb0fb0
  2.            #ffbb00
  3.             #fbfb00
  4.            None of the ab
Question_10:
backface-visibility:hidden; will this property hide the back side of a transformed div element?
  1.            Yes
  2.            No
Question:_11
What will happen if the pause property is used as follows?
h2 { pause: 40s 60s }
  1.            pause-before will be set to 40 seconds and pause-after will be set to 60 seconds.
  2.            pause-after will be set to 40 seconds and pause-before will be set to 60 seconds.
  3.             pause-after and pause-before will be set to 40 seconds.
  4.            pause-after and pause-before will be set to 60 seconds.
Question_12:
Read the following:
@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}
What will this code do?
  1.            It will put all tables on a right-hand side landscape page.
  2.            It will rotate the page if the table is positioned at the right side.
  3.             It will keep the table in the landscape position and rotate the page.
  4.            None of the above
Question_13:
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
  1.            orphans
  2.            widows
  3.             bottom
  4.            overflow
  5.            None of the above
Question:14
What is the problem in the following style sheet?
@import “style.css”;
@media print
{
@import “print-main.css”;
BODY { font-size: 10pt }
}
h1 {color: red }
  1.            Two style sheets can’t be included with @import.
  2.            The body tag can’t be included inside @media.
  3.             @import rule is invalid since it occurs inside a @media block.
  4.            It is valid.
Question:15
A/An___________ is defined with ‘grid-columns’, ‘grid-rows’ properties.
  1.            Explicit grid
  2.            Natural grid
  3.             Default grid
  4.            None of the above
Question:16
Which of the following are not valid values for the target-new property?
  1.            window
  2.            tab
  3.             none
  4.            parent
  5.            current
Question:17
Which of the following styles is not valid for an image?
  1.            img { float= left }
  2.            img { float: left here }
  3.             img { background: “black” }
  4.            img { border-width: 10 }
  5.            All of the above
Question:18
What is the initial value of the marquee-speed property?
  1.            slow
  2.            normal
  3.             fast
  4.            none
Question:19
What is the default value of the transform property in CSS3?
  1.            50% 50%
  2.            0% 0%
  3.             100% 100%
  4.            none
Question:20
Which of the following value of the white-space property will set the value of white-space-collapse to “preserve” and value of the text-wrap to “none”?
  1.            normal
  2.            pre
  3.             nowrap
  4.            pre-wrap
  5.            pre-line
Question:21
Which of the following is not a user interface element fragment selector?
  1.            value
  2.            choices
  3.             default
  4.            repeat-item
  5.            repeat-index
Question:22
If the nav-index property of textbox1 is set to 10, that of textbox2 to 5 and that of textbox3 to 8, what will be the navigation order?
  1.            textbox1, textbox2 ,textbox3
  2.            textbox2, textbox3 ,textbox1
  3.             textbox3, textbox2 ,textbox1
  4.            textbox1, textbox3 ,textbox2
Question:23
What is the initial value of the opacity property?
  1.            0
  2.            1
  3.             normal
  4.            none
Question:24
Which of the following option does NOT exist in media groups available in CSS3?
  1.            continuous or paged
  2.            visual or tactile
  3.             grid or bitmap
  4.            braille or screen
Question:25
What is the initial value of the text-align property?
  1.            start
  2.            end
  3.             left
  4.            right
  5.            center
  6.             justify
Question:26
Which of the given rules would result in an object being rendered as above?
  1.            div { content: ’1′ }
div::before { content: ’2′; }
div::before::before { content: ’3′; }
  1.            div { content: ’3′ }
div::before { content: ’2′; }
div::before::before { content: ’1′; }
  1.             div { content: ’1′ }
div::before { content: ’2′; }
div::before(2) { content: ’3′; }
  1.            div { content: ’3′ }
div::before { content: ’2′; }
div::before(2) { content: ’1′; }
Question:27
You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?
  1.            img { image-resolution: auto }
  2.            img { image-resolution: auto, 300dpi }
  3.             img { image-resolution: 300dpi }
  4.            None of the above
Question:28
If you set the value of the speak property to digits, how would 22 be spoken?
  1.            twenty two
  2.            two two
  3.             twenty and two
  4.            four
Question:29
Which of the following does not apply to external styles?
  1.            Clean separation of design and content
  2.            Minimal code duplication
  3.             Highest priority
  4.            Reduced page download time
Question:30
To which of the following elements can the min-width property not be applied?
  1.            button
  2.            span
  3.             table new
Question:31
If the following rule is used, what will be the output?
:focus,:active { outline-offset: 10px }
  1.            The focus outline will appear at a distance of 10 pixels from the active element.
  2.            The width of the focus outline will be 10 pixels.
  3.             No outline will be shown.
Question:32
Which of the following rules is equivalent to the em { color: rgb(255,0,0) } style?
  1.            em { color: rgb(300,0,0) }
  2.            em { color: rgb(255,-10,0) }
  3.             em { color: rgb(110%, 0%, 0%) }
  4.            em { color: rgb(100%, 0%, 0%) }
  5.            All of the above
Question:33
What is the initial value of the animation-iteration-count property?
  1.            0
  2.            1
  3.             5
  4.            None
Question:34
What will happen if the following style declaration is applied to an element?
p { margin: 3em 2em }
  1.            The top and the bottom margins will be 3em and the left and the right margins will be 2em.
  2.            The top and the bottom margins will be 2em and the left and the right margins will be 3em.
  3.             The top and the left margins will be 3em and the bottom and the right margins will be 2em.
  4.            The top and the right margins will be 2em and the bottom and the left margins will be 3em.
Question:35
What will happen if the following style declaration is used in the given HTML code?
<style type=”text/css”>
div.container
{
width:38em;
border:1em solid black;
}
div.split
{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}
HTML code:
<div class=”container”>
<div class=”split”>Box 1.</div>
<div>Box 2.</div>
</div>
  1.            Two boxes will be stacked one on another.
  2.            Box 1 will be on the left hand side and Box 2 will be on the right hand side horizontally.
  3.             Box 2 will be on the left hand side and Box 1 will be on the right hand side horizontally.
  4.            Both boxes will overlap each other.
Question:36
Which of the following is the initial value for the column-fill property?
  1.            auto
  2.            balance
  3.             none
Question:37
If you are using the white-space-collapse property with value collapse, what will be the output of the following string?
John leads his team to the victory, but fails to reach the   finals.
  1.            Johnleadshisteamtothevictory,butfailstoreachthefinals.
  2.            John leads his team to the victory, but fails to reach the finals.
  3.             John leads his team to the         victory, but fails to reach the   finals.
  4.            John leads his team to thevictory, but fails to reach thefinals.
Question:38
What effect does the following rule have?
div { grid-rows: 4em (0.25em 1em); }
  1.            It creates rows with 4em height.
  2.            It creates a header row with 4em height and alternative rows with 0.25em width and 1em heights.
  3.             It creates a header row with 4em height and alternative rows with 0.25em and 1em heights.
  4.            It creates a header row with 4em width and alternative rows with 0.25em width and 1em heights.

No comments:

Post a Comment