WorksheetsW04_W06_DIP_SOFT
Total questions: 59
Worksheet time: 30mins
Name
Class
Date
1.
1. W04_W06_KLO1.1: When using event driven programming, which of the following suits the example of clicking a single right-button on a command button in a GUI program to trigger a routine or save information to a folder?
a)
a. User Interface
b)
b. Interpreter
c)
c. Event Handling
d)
d. None of the above.
2.
2. W04_W06_KLO1.1_1.2: What can we attach to DOM elements in order to respond to events in the system?
a)
a. Event Handlers
b)
b. Event Listeners
c)
c. Event Processors
d)
d. Event Coordinators
3.
3. W04_W06_KLO1.1_1.2: What method do we use to create an event listener?
a)
a. element.makeEventListener()
b)
b. element.listen()
c)
c. element.on()
d)
d. element.addEventListener()
4.
4. W04_W06_KLO1.1_1.2: The following example uses what type of function to handle an event?element.addEventListener(‘click’,function(event){;
a)
a. Named function
b)
b. Anonymous function
c)
c. Inline function
d)
d. Arrow function
5.
5. W04_W06_KLO1.1_1.2: What property on the event object contains the DOM object that invoked the event?
a)
a. event.element
b)
b. event.source
c)
c. event.target
d)
d. event.invoker
6.
6. W04_W06_KLO1.1_1.2: Why is theevent.preventDefault() command used?
a)
a. To prevent the settling of default data values in the database.
b)
b. To prevent the execution of default actions in response to an event trigger.
c)
c. To enforce the submission of a form.
d)
d. To stop execution of all code.
7.
7. W04_W06_KLO1.1_2.1_2.5: Which event trigger indicates the DOM has finished loading and processing?
a)
a. DOMContentLoaded
b)
b. DOMReady
c)
c. DOMFinished
d)
d. DocumentReady
8.
8. W04_W06_KLO1.1_2.1: Products, but you have no basic knowledge of building websites. In this case, what is the first concept of coding you will learn that makes a difference of how your document displays ordinary text into a transformed text?
a)
a. Blocks
b)
b. Tags
c)
c. Blocks
d)
d. Tables
9.
9. W04_W06_KLO1.1_2.1: In the example, <b>He is playing.<b>, what is known to be one of the biggest syntax errors?
a)
a. The text needs to be longer.
b)
b. <b> will only produce the first word.
c)
c. The element does not consist of a closing tag.
d)
d. All of the above.
10.
10. W04_W06_KLO1.1_2.1: HTML documents use tags for everything, but there are times when more information needs to be conveyed. This information communicates the characteristics of an element. What is this called?
a)
a. Attributes
b)
b. Tags
c)
c. Elements
d)
d. Parameters
11.
11. W04_W06_KLO1.1_2.1: In an element, where attributes are present, you can only place the value in which of the following format?
a)
a. In between commas.
b)
b. After the name of the attribute.
c)
c. In between apostrophes.
d)
d. Inside quotation marks.
12.
12. W04_W06_KLO1.1_2.1: As a programmer, you want to ensure that your paragraph is placed right in the middle of the page. To do this, you are bound to use attributes within your elements. Which of the following attribute and value is used to position your paragraph in the middle?
a)
a. align=”top”
b)
b. align=”middle”
c)
c. align=”center”
d)
d. aligh=”center”
13.
13. W04_W06_KLO1.1_2.1: In the <head> element, you include data about the HTML document. This data can include information like character set, document title, document owner, document styles, or scripts. What is this data commonly known as?
a)
a. Information
b)
b. Metadata
c)
c. Data
d)
d. Title
14.
14. W04_W06_KLO1.1_2.1_2.2: Why do we, Web Developers, need to include elements that specify information that search engines can use to describe the content in their listings?
a)
a. This information helps search engines work properly.
b)
b. This information helps search engines understand what websites are.
c)
c. This information is not helpful at all, but we still include it in the <meta> element.
d)
d. This information helps search engines understand the content of our websites, which in return helps our website’s rank.
15.
15. W04_W06_KLO1.1_2.1: There are two kinds of basic lists when it comes to HTML, what kind of list would the following code produce? <ul><li>Chair</li><li>Table</li><li>Food</li><ul>
a)
a. Ordered list
b)
b. Uniformed list
c)
c. Unordered list
d)
d. Nested list
16.
16. W04_W06_KLO1.1_2.1: When including hyperlinks in HTML, what tag is used to define links in HTML and which attribute is used to specify the destination of a link?
a)
a. <a>, href
b)
b. href, <a>
c)
c. link, <link>
d)
d. None of the above.
17.
17. W04_W06_KLO1.1_2.1: As a Web Developer, you would want to create links or buttons that redirect your users to other webpages or websites. However, in order to ensure that your users are only being linked to another page on your website, what type of hyperlink would you use?
a)
a. External
b)
b. Inside
c)
c. Internal
d)
d. Link
18.
18. W04_W06_KLO1.1_2.1: In order to ensure that your link opens in another tab, what is used as an attribute within the hyperlink element?
a)
a. _self
b)
b. target
c)
c. _blink
d)
d. Notarget
19.
19. W04_ KLO3.1 _W06_KLO1.1: When you have servers, you have clients. These servers are systems that connect and communicate with clients – your computers. However, clients and servers use different programs. We have client-side programs and server-side programs. What handles clients’ requests and returns a customized or dynamic response for each request?
a)
a. Java
b)
b. C++
c)
c. Java Servlet
d)
d. None of the above.
20.
20. W04_ KLO3.1 _W06_KLO1.1: Java servlets usually need to run on a protocol. Which protocol do they run on that is an asymmetrical request-response protocol?
a)
a. HTML
b)
b. SMTP
c)
c. FTP
d)
d. HTTP
21.
21. W04_ KLO3.1 _W06_KLO1.1: When you start up a company, and build an IT department, you are bound to hire programmers and database managers. These people are responsible to take care of all the information, and communication, that takes place between your company’s clients and servers. What, however, serves as a middle layer between a request coming from a web browser or other HTTP client and databases or applications on the HTTP server?
a)
a. CGI
b)
b. Java Servlet
c)
c. API
d)
d. All of the above.
22.
22. W04_ KLO3.1 _W06_KLO1.1: When you start creating servlets, which of the following would you use?
a)
a. java.servlet
b)
b. javax.servlets
c)
c. javaxe.servlet.httppackages
d)
d. javax.servlet and javax.servlet.httppackages
23.
23. W04_W06_KLO1.1_2.1: What does the following SQL statement produce?CREATE TABLE
a)
a. Create a database.
b)
b. Create a row.
c)
c. Create a column.
d)
d. Create a table.
24.
24. W04_W06_KLO1.1_2.1: The _____________ is used for creating and destroying tables, indexes, and other forms of structures.
a)
a. data manipulation language.
b)
b. data control language.
c)
c. transaction control language.
d)
d. data definition language.
25.
25. W04_W06_KLO1.1_2.1: In a RDBMS, we use specific terms for columns and rows. In the case of rows, what kind of term do we use?
a)
a. Attribute
b)
b. Tuple
c)
c. Field
d)
d. Instance
26.
26. W04_KLO4.1_4.4: Relational database systems use multiple tables to store information, where each table can have a different record format. However, what type of database is relatively simple where each database is contained in a single table?
a)
a. Flat-File
b)
b. Hierarchical
c)
c. Object-Oriented
d)
d. Network
27.
27. W04_KLO4.1_4.4: In an hierarchical database, you need to arrange everything in order. To do this, you have the arrangement of things – called nodes – and lines that connect the nodes. What are these lines referred to as?
a)
a. Child
b)
b. Branches
c)
c. Things
d)
d. Nodes
28.
28. W04_W06_KLO1.1_2.1: When building webpages, you include HTML, CSS, SVG, Ajax, and other technologies used for WebApps. Which W3C Standard would this fall under because this has information on how to make pages accessible to people with disabilities, to make them international, and make them work on mobile devices?
a)
a. Web of Devices
b)
b. Web Architecture
c)
c. Semantic Web
d)
d. Web Design and Applications
29.
29. W04_KLO2.4: A file format is the layout of a file in terms of how the data within the file is organized. What kind of file format does a CSS file use?
a)
a. .html
b)
b. .docx
c)
c. .css
d)
d. .ajx
30.
30. W04_KLO2.4: When designing a website, you are bound to use images to make the website more visually pleasing and appealing. In order to do so, you will use images and GIFS. What are the two file formats you would use to display images on a webpage?
a)
a. .pdf and .exe
b)
b. .gif and .jpg
c)
c. .png and .mp3
d)
d. All of the above.
31.
31. W04_KLO5.1_5.2: Which is a common routing protocol used for local and wide area networks?
a)
a. RIP
b)
b. ARP
c)
c. UDP
d)
d. TCP
32.
32. W04_KLO5.1_5.2: Which protocol is commonly used to retrieve email from a mail server?
a)
a. FTP
b)
b. IMAP
c)
c. HTML
d)
d. TELNET
33.
33. W04_KLO5.1_5.2: Which protocol is most similar to SSL?
a)
a. NTP
b)
b. FTP
c)
c. POP3
d)
d. TLS
34.
34. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2 What does the acronym SSL represent?
a)
a. System Service Layer
b)
b. Secure Sockets Layer
c)
c. System Synchronize Link
d)
d. Secure System Link
35.
35. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: Which protocol is used to provide secure connections across the Internet?
a)
a. ARP
b)
b. HTTPS
c)
c. NTP
d)
d. POP3
36.
36. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: Which protocol is used to resolve IP to MAC addresses?
a)
a. DNS
b)
b. DHCP
c)
c. ARP
d)
d. WEP
37.
37. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: Which protocol is used to resolve domain names to IP addresses?
a)
a. TCP
b)
b. DNS
c)
c. DHCP
d)
d. ARP
38.
38. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2 : Which protocol is used to upload email messages to an email server?
a)
a. DNS
b)
b. HTTP
c)
c. SMTP
d)
d. PAT
39.
39. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2 : Which protocol is used to automatically provide IP addresses to network computers?
a)
a. DHCP
b)
b. DNS
c)
c. ARP
d)
d. IGMP
40.
40. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: If the authenticated caller wants to add or change the Additional Security Notification Method, select one of the following except:
a)
a. E-mail
b)
b. SMS
c)
c. Fax
d)
d. non
41.
41. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: How long does it take for the customer to receive the PIN via the chosen Additional Security Notification Method?
a)
a. For SMS or email the customer should receive the notification within 30 to 90 minutes; if through a letter, the customer will receive it via regular mail within 7 to 10 days.
b)
b. For SMS or email the customer should receive the notification within 30 to 90 minutes; if through a letter, the customer will receive it via regular mail within 3 to 5 days.
c)
c. For SMS or email the customer should receive the notification within 60 to 90 minutes; if through a letter, the customer will receive it via regular mail within 7 to 10 days.
d)
d. non
42.
42. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: How do we send the security Notification if customer does not know PIN or Security Q&A?
a)
a. Create a follow-up.
b)
b. Select the Send Security Info button on the Security Authentication window.
c)
c. Notify Supervisor to send security Notification.
d)
d. non
43.
43. W04_KLO5.1_5.2_W06_ KLO 2.1_2.2: If the customer has a passcode and the passcode does NOT match the last 4 digits of the Social Security Number or Tax ID, what can I do for the customer?
a)
a. Once the Customer is Authenticated, the caller is authorized to discuss account, process payment, and make changes to account only.
b)
b. The customer is authenticated so he/she can do ANYTHING (including setting up PIN and Security Q&A) on the account.
c)
c. Once the Customer is Authenticated, customer cannot set up the PIN, Security Q&A and Additional Security Notification Method, Change Billing Address, obtain a copy of an invoice electronically (via fax or email) or discuss Call Detail Records.
d)
d. non
44.
44. W04_KLO4.1_4.5: Which of the following method connects a MySQL database using PHP?
a)
a. mysql_connect()
b)
b. mysql_query()
c)
c. mysql_close()
d)
d. None of the above.
45.
45. W04_KLO3.4_W06_ KLO1.1: Which of the following is correct about ereg() function?
a)
a. The ereg() function searches a string specified by string for a string specified by pattern, returning true if the pattern is found, and false otherwise.
b)
b. The ereg() function searches throughout a string specified by pattern for a string specified by string. The search is not case sensitive.
c)
c. The ereg() function searches string for pattern, returning true if pattern exists, and false otherwise.
d)
d. None of the above.
46.
46. W04_KLO3.4_W06_ KLO1.1: Which of the following provides content type of the uploaded file in PHP?
a)
a. $_FILES[‘file’][‘tmp_name’]
b)
b. $_FILES[‘file’][‘name’]
c)
c. $_FILES[‘file’][‘size’]
d)
d. $_FILES[‘file’][‘type’]
47.
47. W04_KLO3.4_W06_ KLO1.1: Which of the following is used to get cookies?
a)
a. getcookie() function
b)
b. $_COOKIE variable
c)
c. isset() function
d)
d. None of the above.
48.
48. W04_KLO3.4_W06_ KLO1.1: How will you concatenate two strings?
a)
a. Using . operator.
b)
b. Using + operator.
c)
c. Using add() function.
d)
d. Using append() function.
49.
49. W04_KLO3.4_W06_ KLO1.1: Which of the following function creates an array?
a)
a. array()
b)
b. array_change_key_case()
c)
c. array_chunk()
d)
d. array_count_values()
50.
50. W04_KLO3.4_W06_ KLO1.1: Which of the following operator is used to concatenate two strings?
a)
a. dot
b)
b. plus
c)
c. append
d)
d. None of the above.
51.
51. W04_KLO3.4_W06_ KLO1.1: To transfer (data or programs) from a server or host computer to one's own computer or device.
a)
a. Download
b)
b. Dedicate
c)
c. Web Page
d)
d. HTTP
52.
52. W04_KLO3.4_W06_ KLO1.1: Structure in a document is
a)
a. a paper with a paragraph only.
b)
b. the organization of sections in a paper.
c)
c. a blank sheet of paper.
d)
d. paper without a title or date.
53.
53. W04_KLO2.1_W06_ KLO1.1: A piece of icon or image on a web page associated with another webpage is called
a)
a. url
b)
b. hyperlink
c)
c. plugin
d)
d. extension
54.
55. W04_KLO2.1_W06_KLO1.1: Common gateway interface is used to _______
a)
a) generate executable files from web content by web server
b)
b) generate web pages
c)
c) stream videos
d)
d) download media files
55.
56. W04_KLO2.4: Which one of the following is not used to generate dynamic web pages?
a)
a) PHP
b)
b) ASP.NET
c)
c) JSP
d)
d) CSS
56.
57. W04_KLO3.4_W06_ KLO1.1: An alternative to JavaScript on windows platform is _______
a)
a) VBScript
b)
b) ASP.NET
c)
c) JSP
d)
d) PHP
57.
58. W04_KLO3.4_W06_ KLO1.1: A hierarchical model i.e. a tree used to represent an HTML or XML document. Every node of the tree an object that represents a part of the document. According to the previous discretion, what is document object model (DOM)?
a)
a) convention for representing and interacting with objects in html documents
b)
b) application programming interface
c)
c) hierarchy of objects in ASP.NET
d)
d) scripting language
58.
59. W04_KLO2.3: A group of technologies that works on the client-side to create asynchronous web applications. It is used to modify only a part of a webpage and not the whole webpage whenever some event occurs. AJAX is
a)
a) asynchronous javascript and xml
b)
b) advanced JSP and xml
c)
c) asynchronous JSP and xml
d)
d) advanced javascript and xml
59.
60. W04_KLO3.1_3.2_3.3_3.4_W06_ KLO1.1: Servlet are used to program which component in a web application?
a)
a) client
b)
b) server
c)
c) tomcat
d)
d) applet
100 %
