About CSS

Following are some of the multiple choice questions on the CSS with answers that will help the students in developing their knowledge.

CSS MCQ

1. What are the 3 classifications of computer?

  • Mainframes
  • Microcomputers
  • Minicomputers
  • computer
  • Nanocomputer

2. This code will work. h2 {border: 80cm solid gold;}

  • True
  • False

3. Identify the CSS code use to create this border.

  • p {border: 5px solid pink; border-radius:25px; }
  • p {border: 5px double pink; border-radius:25px; }
  • p {border: 5px solid pink; }
  • p {border: 5px dotted pink; border-radius:25px; }

4. Which CSS code create a white and dotted styled border.

  • h3 {border: 10px white pink;}
  • h3 {border: 10px dotted gold;}
  • h3 {border: 10px white dotted;}
  • h3 {border: 10px dotted white;}

5. Will this code works?h1 {border-top: 10px dashed violet;border-top: 25cm double green;border-top: 60px white inset;border-top: 30pt solid red;}

  • YES
  • NO

6. You can customize each side of the border.

  • TRUE
  • FALSE

7. Which is the correct way to code CSS.

  • p {border-left: 10px dotted orange}
  • p {border-right: 80px gold red;}
  • p {border-right: 80px outset solid;}
  • p {border-right: 80px inset silver;}

8. Which of the property changes the width, style and color of the right border?

  • border-top
  • border-bottom
  • border-right
  • border-left

9. What is the CSS syntax?

  • selector { property:value; }:
  • selector { property:value; }:
  • selector { property_value; }
  • selector { property?value; }:

10. What property would change the font size?

  • blackground-color
  • background-image
  • font-size
  • font-family

11. What property changes the outside space of the container?

  • padding
  • margin
  • display

12. What property changes the inside space of the container?

  • margin
  • padding
  • border

13. What property changes the border space of the container?

  • margin
  • border
  • padding

14. What are the 4 properties position?

  • relative, absolute, relatively absolute, fixed
  • broke, right, left, height

15. What flexbox property positioning would be used to align the items?

  • align-content
  • align-items
  • flex-flow
  • flex-direction

16. How do you utilize flexbox's properties?

  • display: flex
  • display: on
  • display: show
  • display: image

17. What are the 4 values of the flex-direction property?

  • row | row-reverse | column | column-reverse
  • height | width | number | percent

18. Which of these is a pointing devices ?

  • Mouse
  • Keyboard
  • Webcam
  • Monitor

19. Which of this is NOT a input device?

  • Monitor
  • Keyboard
  • Mouse
  • Scanner

20. CPU stands for?

  • Central Processing Unit
  • Central Program unit
  • Center Processing Unit
  • Central Processing Unity

21. Which one of these is NOT a output device?

  • Monitor
  • Microphone
  • Speaker
  • LCD Projector

22. CSU stands for?

  • Computer System Unit
  • Central System Unit
  • Computer Service Unit
  • Computer System Unity

23. The Arithmetic Logic Unit handles all the ________ function?

  • Input
  • Output
  • Process
  • Light

24. The Control Unit handles all the ________ function?

  • Output
  • Input
  • Input / Output
  • Light

25. What are the 3 components of a computer?

  • Peopleware
  • Hardware
  • Software
  • Nanoware
  • Anywhere

26. It is a type of memory that store data but it will deleted after the CSU is restarted or turned off.

  • Volatile memory
  • Non-volatile memory
  • memory
  • Extra memory

27. It is a type of memory that store data but it will not deleted even the CSU is restarted or turned off.

  • Non-volatile memory
  • volatile memory
  • memory
  • USB

28. What are the 2 supporting chipset?

  • North Bridge Chipset
  • South Bridge Chipset
  • West Bridge Chipset
  • East Bridge Chipset

29. RAM stands for?

  • Random Access Memory
  • Random Alert Memory
  • Random Accept Memory
  • Real Access Memory

30. ____________ is a programmable electronic device that can store, retrieve and process data

  • Computer

31. __________ is a combination of components working together.

  • System

32. ___________________ is a group of elements performing together to process data.

  • Computer System

33. Refers to the physical components of the computer system.

  • Hardware
  • Software
  • Peopleware

34. It is a computer program.

  • Software
  • Peopleware
  • Hardware

35. It is the one who uses the computer

  • Peopleware
  • Hardware
  • Software

36. Which is the correct way to format a Font Family for a paragraph? (Hint: make sure you have more than one backup font!)

  • p { font-face: Arial, Verdana, San-Serif; }
  • p { font-family: Arial, Verdana, San-Serif; }
  • p { family-font: Arial, Verdana, San-Serif; }
  • p { font: Arial, Verdana, San-Serif; }

37. What is wrong with this code?

  • The style sheet <link> statement belongs between <head> and </head>
  • The style sheet <link> statement belongs between <title> and </title>
  • The style sheet <link> statement belongs between </head> and <body>
  • The style sheet <link> statement belongs immediately after the DOCTYPE statement

38. What does the position:fixed style do when styling an image?

  • Pins an image in one place on the browser window even when the user scrolls the page content.
  • Sizes an image to a fixed size no matter how big the user expands the browser.
  • Places an image in a specific spot on the page relative to the text before it
  • Places an image based on the users scroll position

39. ________ positioning keeps the element in the normal document flow, while ________ positioning takes it out of the normal flow.

  • relative, absolute
  • absolute, relative
  • fixed, static
  • parallel, universal

40. Select the code below that uses CSS to configure a background color of #000000 for a web page.

  • body { background-color: #000000; }
  • body { bgcolor: #000000; }
  • document { background¬≠-page: #000000; }
  • None of these

41. Which is the correct way to format a Font Family for a paragraph?

  • p { font-face: Arial; }
  • p { family-font: Arial; }
  • p { font-family: Arial; }
  • p { font: Arial; }

42. Which CSS code is incorrect?

  • a {color: blue;}
  • p {font-size: 10px;}
  • body {background-color="red";}
  • img {width: 100%;}

43. How do I remove the underline from a link using CSS?

  • a {underline: none;}
  • a {text-decoration: none;}
  • a {style: none;}
  • link {underline: none;}

44. The code for the comment tag in CSS is

  • <!-- comment -->
  • <!-- comment >
  • /* comment /*
  • /* comment */

45. A selector (ex: h1{ } ) can only have 1 property

  • true
  • false

46. Which is the correct way to specify the color of a paragraph of text?

  • p { color:#ff0000; }
  • p { text-color:#ff0000; }
  • p { font-color: #ff0000; }

47. You should always define a backup font-family in CSS.

  • True
  • False

48. What unit of measurement does CSS use for size?

  • px
  • em
  • %
  • All work

49. Which is the property in this CSS?p {color: red;}

  • p
  • color
  • red

50. Which CSS code is buggy?

  • link {color: blue;}
  • li {background-color: red;}
  • p {font-size: 10px;}
  • img {width: 100%;}

Enjoyed the Quiz. Share this with friends

Comments

Add Your Review

Your email address will not be published.

Subscribe to Newsletter!

Subscribe to get latest updates and information.