The document outlines the final exam details for the course CS206, focusing on Web Design and Development. It includes questions on HTML, PHP, and database management, with multiple-choice and true/false formats. The exam is scheduled for June 20, 2022, and carries a total of 50 marks.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
7 views2 pages
Web Final 2022
The document outlines the final exam details for the course CS206, focusing on Web Design and Development. It includes questions on HTML, PHP, and database management, with multiple-choice and true/false formats. The exam is scheduled for June 20, 2022, and carries a total of 50 marks.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
Final Exam: Second semester Course Code: CS206 Percentage 05%
2522-2522 Academic AI,BI,CS,IS N. of Exam 2
Academic Year: Paper Program: University Level: second Department: AI,BI,CS,IS Date 20/6/2022 Faculty of of Sadat Web Design and 05 2 Hour Computers City Course Name: Development Total score: Time allowed: and Artificial Intelligence Q1) choose the correct answer (30mark) 1 – HTML element for the largest heading: a) <h6> b) <head> c) <heading> d) <h1> 2 - What is the correct HTML for adding a background color? a) <background>yellow</background> b) <body bg="yellow"> c) <body style="background-color:yellow;"> d) None of the above 3 - What is the correct HTML for creating a hyperlink? a) <a url="http://www.w3schools.com">W3Schools.com</a> b) <a name="http://www.w3schools.com">W3Schools.com</a> c) <a>http://www.w3schools.com</a> d) <a href="http://www.w3schools.com">W3Schools</a> 4 - Which character is used to indicate an end tag? a) < b) ^ c) * d) / 5- How many sizes of headers are available in HTML by default? a) 1 b) 5 c) 6 d) 7 6 - What is the correct HTML element for inserting a line break? a) <lb> b) <br> c) <break> d) None of the above 7 - Which property allows an image link to show a text label? a) alt b) str b) alternative d) None of the above 8 - How can you make a numbered list? a) <ul> b) <dl> b) <ol> d) <list> 9 - Which of these elements are all <table> elements? a) <table><tr><td> b) <table><head><tfoot> b) <table><tr><tt> d) <thead><body><tr> 10 - What does the 'M' in HTML5 stand for? a) more b) mark b) markup d) main 11- Which one of the following statements is used to create a table? a) CREATE TABLE table_name (column_name column_type); b) CREATE table_name (column_type column_name); c) CREATE table_name (column_name column_type); d) CREATE TABLE table_name (column_type column_name); 12- Which one of the following statements can be used to select the database? a) $mysqli=select_db('databasename'); b) mysqli=select_db('databasename'); c) mysqli->select_db('databasename'); d) $mysqli->select_db('databasename'); 13- Which one of the following methods is responsible for sending the query to the database? a) query() b) send_query() c) sendquery() d) query_send() 14- Which of the methods are used to manage result sets using both associative and indexed arrays? a) get_array() and get_row() b) get_array() and get_column() c) fetch_array() and fetch_row() d) fetch_array() and fetch_column() 15- Which one of the following is the right way of defining a function in PHP? a) function { function body } b) data type functionName(parameters) { function body } c) functionName(parameters) { function body } d) function fumctionName(parameters) { function body }
Q2) True or False (20 mark)
1. src is the required attributes in an image tag ( )
2. You can have multiple header and footer elements in your Web page ( ) 3. Any complete HTML5 file must contain bits of CSS and JavaScript ( ) 4. All browsers support all attributes. ( ) 5. Images can be added to your Web page in more than one way. ( ) 6. The correct CSS syntax {body:color=black;} ( ) 7. fetch_array() and fetch_row() are two methods to manage result sets using both associative and indexed arrays ( ) 8. “Delete * from Person” is the statement used to delete all records that have lastname=”Griffin” ( ) We can you make a bulleted list by using <ul> tag ( ) 9. The correct HTML for referring to an external style sheet is <style src="mystyle.css"> ( ) 10. The correct CSS syntax for making all the <p> elements bold is <p style="text-size:bold;"> ( )
With best wishes
Professor of Course Course coordinator Staff Course Department Head Exam group )Three members accredited by the faculty committee)