Question

Need help with some multiple choice questions (Related concepts are web development languages) S1. Which HTML...

Need help with some multiple choice questions (Related concepts are web development languages)

S1. Which HTML color code would give a shade of gray?
  
a) #ffffcc   b) #ccccff   c) #ffcc44    d) #666666    e) #669966


S2. Which HTML attribute of the TABLE tag sets the distance between the border and the content of each cell?
  
a) width   b) border   c) marginspace   
d) cellpadding    e) cellspacing


S3. Identify the property that is *not* used to define the style of a text?
  
a) font-weight   b) font-style   c) color    d) font-align  
e) font-size


S4. Which *attribute* may be used in a <body> tag to specify the background color of a web page?
  
a) color      
b) bgcolor      
c) background   
d) backgroundcolor
e) background-color


S5. Which CSS style definition will *not* work?
  
a) .class1 {font-weight:bold;}
b) .class2 {font-size:12px}
c) .class3 {colour:red;}
d) .class4 {text-align:center;}
e) none of the above, they all work


S6. Which of these languages is mostly used server-side (back-end)?

a) HTML       b) JavaScript       c) CSS  
d) Perl       e) none of these


S7. What movie format (extension) is not compatible with HTML5?

a) OGG       b) MP4       c) MKV  
d) WebM       e) All are compatible


S8. Identify the correct tag sequence to specify an audio file.

a) <audio src="mysong.mp3" type="audio/mpeg" />
b) <source src="mysong.mp3" type="audio/mpeg" />
c) <video src="mysong.mp3" type="audio/mpeg" />
d) <mpeg src="mysong.mp3" type="audio/mpeg" />
e) <play src="mysong.mp3" type="audio/mpeg" />


S9. What PHP statement is used to write to a file?

a) response.write       b) fprintf       c) writef      
d) fwrite           e) print

S10. What is the string concatenation operator in Perl?

a) .       b) +       c) strcat  
d) cat       e) &


S11. What ASP function is used to retrieve information from a form submitted with the GET method?

a) request.form       b) request.querystring       c) request.post
d) $_GET       e) request.get


S12. What does the acronym DOM stands for (in Web programming context)?

a) Document Object Model
b) Document Oriented Model
c) Document Object Management
d) Digital Object Model
e) none of the above


S13. What keyword is used to define a function in Ruby?

a) func      b) def      c) yield   
d) define   e) function


S14. In the following jQuery statement, what is supposed to go into the part indicated as C?
$(A).fadeTo(B,C,D);

a) the selector  
b) the speed       
c) the opacity      
d) the callback
e) something else


S15. What Xpath would select all engine elements that are children of car?

a) car/engine
b) @engine
c) //engine
d) */car/engine
e) engine/car


S16. What is the result of the following in Perl?
$x = "The color property is used to set the color of the text";
@a = split (/ color /,$x); print $a[1];

a) The
b) color
c) property is used to set the
d) of the text
e) none of the above


S17. What statement links an external Perl subroutine file to the main program?

a) link       b)sublink   c) require   d) include   e) subroutine


S18. What is printed out after the following Python statements?
list = [1, 2, 3, 4, 5, 6, 7]; print list[1:5]

a) 1 2 3 4 5       b) 1 2 3 4 5 6       c) [2,3,4,5]
d) 2 3 4 5       e) none of these


S19. What is the correct declaration for an array with 50 cells in ASP?

a) dim array [50]  
b) array (49)  
c) dim array(50)
d) dim array (49)  
e) dim array [49]


S20. What is the output of the following PHP code?
$s2 = substr_replace("toronto", "o", -2, 2); echo $s2;

a) toronto   b) t2r2nt2   c) torono   d) oronto   e) torooto

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 1:#666666
Answer 2:cellpadding
Answer 3: font-align
we dont have font-align instead we have text-align
Answer 4:b) .class2 {font-size:12px}
it should end with ;

Please post other questions in separate post as per policy we have to answer 1 question per post. Please post separately .Thank you

Add a comment
Know the answer?
Add Answer to:
Need help with some multiple choice questions (Related concepts are web development languages) S1. Which HTML...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • HTML Web Page project: Need help to create a web page exactly as the example below...

    HTML Web Page project: Need help to create a web page exactly as the example below using HTML. I need the source code. Page 1 of CA272 Midterm Welcome to your name's CA272 Midterm Text In this class, I learned how to... 1. create an X)HTML web page, where I can 2. change the size of my font, 3. change the color of my fonts, 4. change my font style, 5. and change the background color of my web page....

  • A question regarding HTML coding. Need help from B to F. 70: A. Which type of...

    A question regarding HTML coding. Need help from B to F. 70: A. Which type of list has numbers next to each item: ordered or unordered? Ordered list or have numbers next to each item. Unordered lists or have bulletins next to them. B. What tag is used to mark a term to be defined? What tag marks the definition? C. Can you apply other tags (such as h1 headings) to list items? If so, how? If not, why not?...

  • I have never created an external style before. This is the main Html that I am...

    I have never created an external style before. This is the main Html that I am using. <!doctype html> <html lang="en"> <head> <!--Madison McCuiston--> <meta charset="utf-8"> <title>Amelie Boulangerie</title> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <div id="wrapper"> <header>Amelie Boulangerie</header> <!-- change this to header tag --> <nav> <ul> <li><a href="index.html">Home</a></li> <li><a href="pastries.html">Pastries</a></li> <li><a href="events.html">Events</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> <main> <H2>Experience the Difference</H2> <p><span class="bakery">Amelie Boulangerie</span> is the master of flavor combinations.The jewel-colored macarons come in the most tempting of flavors. Experience...

  • Question are based on THML code below. Read the code and then answer questions after it...

    Question are based on THML code below. Read the code and then answer questions after it <html> <head><title>First Web Page</title></head> <body bgcolor="#310AFC" > <table border="1" width="700" height="600" bgcolor="#1A88BC" align="right"> <tr> <td ><font size="4" color="blue">This is Cell 1</font> </td> <td bgcolor="#FCBB8C"><h2 align="left">This is a heading</h2></td> <td><font size="4" color="red">There is a list below</font> <ul><li>Item 1</li><li>item 2</li></ul> </td> <td><img src="2.jpg" width="100" height="100" border="1" /></td> </tr> <tr> <td>This is <a href="http://www.yahoo.ca">a link to Yahoo</a></td> <td><table border = "1" width="190" height="110" bgcolor="#FD8B08"> <tr><td>inside 1</td><td>inside 2</td></tr>...

  • I have some code for HTML/Javascript but I need to change it up a bit. Heres...

    I have some code for HTML/Javascript but I need to change it up a bit. Heres the assignment and what I have. The part in the bold is what I need help with. I need a button called new timer for when it reaches zero... Thank you. Assignment For this assignment, you will write a timer application in HTML and JavaScript. Your HTML document should contain the following elements/features: HTML tags: An <input> tag labeled "Timer Duration" with the initial...

  • // I need help in creating and publishing a website with two pages for this assignment,...

    // I need help in creating and publishing a website with two pages for this assignment, I am new to this and need a bit of help as to what and how many HTML files I need to create, and CSS files. If anyone could send me a sample code or anything to start out with it would be appreciated ! I have attached the specifications and requirements below CPI 101 Introduction to Informatics Homework #1 Check Out My Website!...

  • given below are the project description and their Html and css files i need javascript according...

    given below are the project description and their Html and css files i need javascript according to the project and other files! WEB230 - JavaScript 1 Assignment 6b - Event Delegation Before starting, study the HTML and open it in a browser so that you understand the structure of the document. You will add functionality to perform several tasks in our shopping list app. Clicking the red "X" at the right of an item will delete that item. Clicking on...

  • (Below I have posted my full assignment so my question makes sense with context. The part...

    (Below I have posted my full assignment so my question makes sense with context. The part I am struggling with is section e. I am not sure how to create the said class. If you could help it would be appreciated. Also, this is all HTML code.) In this assignment you will create a web page about your favorite TV show of all-time and link it to an external style sheet to apply a few CSS rules to it. Follow...

  • 2 Apply Your Knowledge Reinforce the skills and apply the concepts you learned in this chapter Styling a Webpage Instru...

    2 Apply Your Knowledge Reinforce the skills and apply the concepts you learned in this chapter Styling a Webpage Instructions: In this exercise, you will use your text editor to create external, embedded, and inline styles for the Durango Jewelry and Gem Shop home page. You will style the sections of the semantic wireframe header, nav, main, and tooter and a div element that surrounds all of the content to center the content on the page. You will also float...

  • can you do this js and html question. ill give you the html and js and...

    can you do this js and html question. ill give you the html and js and css files just fix my error use if and else like what i did dont use switch just fix my erorr. <!DOCTYPE html> <!-- Webpage HTML document for Lab 4. Authors: Amirhossein Chinaei, Andriy Pavlovych For: EECS 1012, York University, Lassonde School of Engineering --> <html lang="En"> <head> <meta charset="UTF-8"> <!-- title for web page --> <title> EECS1012: Lab 4 - Computational Thinking </title>...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT