CS103

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

5. Which one of the following font families is not defined in CSS? a. Times New Roman b. Fantasy c. Sans-serif d. Cursive

A

In CSS, what is the purpose of using pseudo-class selectors? a. To specify a state or relation to an element b. To target HTML tags c. To create animations d. To control layout and posi0oning

A

To check if the user's input is an acceptable numerical answer, what JavaScript function should be used? a) isNaN() b) isNumber() c) isNumeric() d) checkNumber()

A

True or False: Disney's animated film, Snow White and the Seven Dwarfs (1937), is still protected under Disney's copyrights. A. True B. False

A

What CSS property is used to create a horizontal navigation menu? a. display: inline; b. display: block; c. display: flex; d. display: horizontal;

A

What do block-level elements do? a) They start on a new line and force the next element on a new line. b) They do not start on a new line but force the next element on a new line. c) They do not start on a new line and do not force the next element on a new line. d) They start on the same line as the previous element.

A

When using the class attribute as a selector, how do you specify it in CSS? a. .class b. #class c. $class d. @class

A

Which JavaScript operator is used for concatenatng strings? a. + b. - c. * d. /

A

Which method allows you to apply the same styles to multiple web pages a) External CSS b) Internal styling using the Style element c) In-line styling using Style attribute d) Inline CSS

A

Which operator is used for strict equality (both value and type) comparison in JavaScript? a. === b. = c. <= d. !=

A

5. What Unicode character represents the copyright logo? A. &#9723 B. &#169 C. &#8745 D. ​&#8203

B

How do computers denote ON and OFF states? a) With the letters A and B b) With binary numbers 0 and 1 c) With colors red and green d) With mathema>cal symbols + and -

B

How do you specify a color in CSS using hexadecimal codes? a) color: red; b) color: #FF0000; c) color: rgb (255, 0, 0); d) color: hsl (0, 100%, 50%);

B

In web design, what is the primary goal of visual hierarchy? a. To make every element on the page equally prominent b. To create a clear visual hierarchy of contrast c. To use a wide variety of fonts and colors d. To make the webpage visually complex

B

Of the following, which one is the most specific? a. .writing-intensive {color: green;} b. li.writing-intensive {color: green;} c. li {color: green;} d. ul li{color: green;}

B

What is a sitemap.xml used for? a) Preventing search engines from indexing a website. b) Providing a road map for search engine bots to index website pages. c) Storing website images. d) Improving website design.

B

What is the best approach for having a responsive image? a. calc(2px + 2vw) b. max-width c. vh/vw d. %

B

Which CSS property is used to add white space inside of an element? a) Margin b) Padding c) Border d) Float

B

Which HTML tag is used for creating hyperlinks? A. <link> B. <a> C. <href> D. <url>

B

5. What is fair use in U.S. copyright law? A. A way to completely avoid copyright infringement B. A provision that allows unlimited use of copyrighted works C. A provision that allows limited use for specific purposes D. A legal loophole to bypass copyright law

C

How does rgba() and hsla() differ from rgb(), hsl(), hexadecimal, etc.? a) They are used for designing anchor tags. b) They help you manipulate the luminosity of your colors. c) They help you manipulate the opacity of your colors. d) The "a" stands for aesthetics.

C

In HTML, which tag is used to define a heading? A. <title> B. <header> C. <h1> D.<nav>

C

Server-side web programming languages run on the: a. User's computer b. Web browser c. Web server d. Database server

C

What does the abbreviation "BY" in Creative Commons licenses stand for? A. Buy B. Byline C. Attribu6on D. Beyond

C

What happens if you forget to include the control attribute in a video tag? a) The video will play in a loop. b) The video will auto-play. c) The video will display but won't play. d) The video will display with extra controls.

C

What is the main purpose of the Crea+ve Commons licenses for content creators? A. To make all content public domain B. To restrict the use of their content C. To grant permissions for reuse under specific terms D. To charge licensing fees for their content

C

What is the primary goal of responsive design in web development? a. To create visually appealing websites b. To develop mobile applications c. To make websites work well on all devices d. To design websites with fancy animations

C

When using a work under a Crea5ve Commons license, what must you provide in your copyright statement? A. Your personal information B. A direct link to the creator's bank account C. The source, ar6st, and license of the work D. A statement of ownership of the work

C

Which of the following is a block-level element? a) <span> b) <strong> c) <hr> d) <em>

C

Which of the following is not a web browser supported image format? a) JPEG b) PNG c) Tiff d) GIF

C

Which term refers to unethical SEO? a) White-hat SEO b) Grey-hat SEO c) Black-hat SEO d) Red-hat SEO

C

Which type of positioning is used when you want an element to stay in the same place in the browser window, regardless of scrolling? a. Relative positioning b. Static positioning c. Fixed positioning d. Absolute positioning

C

How can you horizontally center an element within its container in CSS? a. Use a large margin on the le0 b. Apply a fixed width c. Set the display property to "inline" d. Set the margin property to "auto"

D

How does the meta-description tag help search engines? a) It provides information about the author of the webpage. b) It determines the page's background color. c) It adds special effects to the webpage. d) It helps search engines understand what the webpage is about

D

What does the "calc()" function in CSS allow you to do? a. Calculate complex mathematical operations. b. Define a border for elements. c. Create gradients in background colors. d. Combine different units to create responsive text

D

What sec+on of a webpage is conven+onally reserved for the copyrights statement? A. Navigation B. Header C. Main-content D. Footer

D

Which CSS property allows you to control the size inside boxes and prevents padding from stretching beyond the specified width? a. width b. max-width c. margin d. box-sizing

D

Which coloring method allows users to increase or decrease the opacity of their colors? a) rgba() b) hex-code c) hsla() d) a&c

D

Which of the following is a characteristic of static web pages? a. They are written in JavaScript. b. They can be easily updated by web developers. c. They use server-side programming languages. d. They are written entirely in html/css

D

All HTML files must be saved using spinal-case. 1. True 2. False

True

Our style sheets override the default browser style sheets. True False

True

The content of the index.html file does not ma8er as much as its name does 1.True 2. False

True

What does HTML stand for? a) Hypertext Markup Language b) High-Level Text Management Language c) Human-Tested Markup Language d) Hyper Transfer Machine Language

a

Which attribute is required for the anchor () tag when creating an external link in HTML? a) href b) target c) rel d) src

a

Who is widely recognized as the first computer programmer? a) Ada Lovelace b) Katherine Johnson c) Grace Hopper d) Hedy Lamarr

a

3. Under current U.S. law, when is copyright in effect? A. As soon as a work is registered B. As soon as a work is created C. As soon as a work is published D. As soon as a work is paid for

b

How do computers denote ON and OFF states? a) With the letters A and B b) With binary numbers 0 and 1 c) With colors red and green d) With mathematical symbols + and -

b

How do you specify a color in CSS using hexadecimal codes? a) color: red; b) color: #FF0000; c) color: rgb (255, 0, 0); d) color: hsl (0, 100%, 50%)

b

How would you select all elements with the class "blogpost" in CSS? a. #blogpost { } b. .blogpost { } c. blogpost { } d. <blogpost> { }

b

In External NavigaBon, if you want the link to be opened on a new page, you must add which attribute? a) href b) _blank c) target d) src

b

What does the modulus (%) operator do in JavaScript? a. Performs addition b calculates the remainder of division c. compares two values d. multiplies two numbers

b

What does the section of a webpage conventionally contain? A. Important content of the webpage B. Copyright Statement C. Important Navigational links D. All of the above

b

Which sec+on of a webpage typically contains tags like and <meta><title>? A. Header B. Head C. Nav D. Footer

b

Which one of these file names violates spinal-case conven>on: a. boston-university b. I-love-massachuse8s c. somewhere-over-the-rainbow-where-the-skies-are-blue d. blah-blah

b. I-love-massachusetts

Aside from being a Hollywood actress, what is Hedy Lamarr known for? a) Providing crucial mathematical calculations for space missions. b) Being the first computer programmer. c) Contributing to the development of the modern Wi-Fi technology. d) The development of the first compiler.

c

What is the main purpose of Creative Commons licenses? A. To take away copyright from the creator B. To restrict access to crea6ve works C. To allow others to reuse content with specified conditions D. To protect copyright holders from any use of their work

c

What is the purpose of the anchor tag in HTML? a) To format text b) To create headings c) To link to other web pages or resources d) To display images

c

What types of links are typically grouped inside a tag? A. External Navigation B. In-page Navigation C. Internal Navigation D. All of the above

c

Where can the script tag code be placed within the html page a. In the head only b. in the body only c. in both d. in neither

c

Which of the following is NOT a pseudo-class selector for hyperlinks in CSS? a. :link b. :visited c. :current d. :ac0ve

c

Which option is an acceptable excuse for missing class or lab sessions in CS-103: a) Car broke down/traffic. b) T/Metro/Bus broke down. c) Faith-based holiday. d) Missed flight.

c

Who is widely recognized for developing the first compiler? a) Ada Lovelace b) Katherine Johnson c) Grace Hopper d) Hedy Lamarr

c

Why is indentation important in HTML coding? a) It makes the code run faster b) It's a requirement in HTML syntax c) It improves code readability and maintainability d) It's used to hide code from other developers

c

What is abstraction in the context of computer science? a) A way to increase complexity in software systems b) A technique to reveal the technical complexity of systems c) A method for translating programming languages into machine code d) A process of reducing complexity for efficient design

d

What is the significance of the tag in HTML? a) It creates hyperlinks b) It formats text c) It adds images d) It allows developers to add comments to their code

d

Arrange the following pseudo-classes for hyperlinks, in the order they should appear, for them to be effective

l v h f a

Chose the correct file format for robots: a. robots.txt b. robots.html c. robots.docx d. robots.pdf

robots.txt

What are the names of the underlined fields in CSS? ul {margin: 0;}

ul is the selector margin is the property 0 is the value


संबंधित स्टडी सेट्स

1320 PREP U ch 8 the labor process

View Set

Cancer (1) A- Hallmarks of Cancer

View Set

Chapter 70: Management of Patients With Oncologic or Degenerative Neurologic Disorders

View Set

Ch.5.3 Helpdesk: Starting the Computer: The Boot Process

View Set

cisco networking modules 8-10 communications exam

View Set

OB - Ch 24: Nursing Management of the Newborn at Risk: Acquired and Congenital Newborn Conditions (PrepU Questions)

View Set

Insurance CH 1 : Application, Underwriting, Application delivery

View Set

Mental Health NCLEX style Questions

View Set