1 + x Intermediate Certificate Web front-end development theory test (Paper 1)

The second half of 2019 Web front-end development Intermediate theory test
(exam time 19: 00-20: 30 a total of 150 minutes, and test Volume 1)
1 + x test certificate web development front section

  1. This paper were three big problem, out of 100 points.
  2. Please answer in the specified location.

First, multiple choice (Paper 2 points, a total of 30 small problem, a total of 60 points)
. 1, A is a label which represents a property of a jump path (B)
A. name B.href C.target D.class

2, form the label in which property is essential for file upload (D)
A. name B.action C.method D.enctype

3, input tag, the value of the type attribute is ______, showing file upload (B)
A. text B.file C.password D.button

4、Tag indicating the text visible property is the width (B)
A. name B.cols C.rows D.disabled

5、

Tag is defined in the table heading tag (A)
A. BCD

6, to insert the image size is set to 50 pixels wide by 100 pixels high, then the correct code (A).
A, <img src="images/banner3.jpg" width="50" height="100" />
B, <img src="images/banner3.jpg" width="100" height="50" />
C, <img src="images/banner3.jpg" width:50, height:100 />
D,<img src="images/banner3.jpg" width:100, height:50 />

7, the following css code, (C) can be controlled Hyperlink style mouse suspended thereon.

A、 a:link{color:#ff7300;}
B、 a:visited{color:#ff7300;}
C、 a:hover{color:#ff7300;}
D、 a:active{color:#ff7300;}

8, CSS 3, there is provided a transform-origin achieve what attribute (A).
A. Transform the center point B. Translation
C. Rotation D. tilt

9, to be implemented in the X-axis inclined at 30 degrees, the following is correct (D).
A. skew (30deg, 30deg) B. skewY (3 deg)
C. skew (0,30deg) D. skewX (30deg)

10, how much you want to query the database, as well as the name of each database in the database There are, need to use the following (D) statement?
A, show tables; B, show database; C, show datatables; D, show databases;

11, create a stored procedure, a number of parameters need to set a stored procedure, which reads sql data used to represent (C)
A, comprising sql statement, but not the read statement
B, comprising a read statement
C, comprising write statements
D, contains written statements

12, MySQL database, the data type decimal (X, Y) X and Y are representative of what (C)?
A, the length before and X represents a decimal point, Y represents a data length;
B, length after X represents a decimal point, Y represents a data length;
C, and X represents the data length, the length of the Y represents a decimal point;
D, X represents a data length, Y representative length before the decimal point;

13, the dep add student table field named dep_idx the full-text index, which of the following fields and index the correct answer (D)
A, ID int, int stu_id, dep_idx index (dep);
B, ID int, stu_id int, FULLTEXT index dep_idx (DEP);
C, (ID int, int stu_id, dep_idx index (DEP)) = Engine MyISAM;
D, (ID int, int stu_id, FULLTEXT index dep_idx (DEP)) = MyISAM Engine;

14, in PHP, all variables which symbol to the beginning? (C)
A,! B, & C, $ D,?

15, php through the array using? (B)
A, B Print, the foreach C, D echo, print_r

16, the statement for ($ k = 0; $ k = 1; $ k ++); and a statement for ($ k = 0; $ k == 1; $ k ++); the number of executions are (A)
A, infinite and 0 B, 0 and infinity C, are unlimited D, are 0

17, the following is not part of the three characteristics (B) OOP is.
A, package B, overloading C, D inheritance, polymorphism

18, when data is bound to the drop-down menu, which will increase the property (C) in the option tag
A, name B, value C, selected D, checked

19, which in PHP variable array data always contain cookies (A) the total of all client issues.
A, $ _ COOKIE B, $ _ COOKIES C, $ _ GETCOOKIE D, $ _ GETCOOKIES

20, function to start the session (C)
A, startSession () B, SessionStart () C, session_start () D, Start ()

21, how to call mymethod process (B) the contents of the class
A, $ self-> mymethod ()
B, $ this-> mymethod ()
C, $ to current-> mymethod ()
D, $ :: mymethod the this ()

22, what the script output (D)
<? PHP echo 'Testing' 2 .1 +. '45'?>
A, 1245 B Testing, Testing 345 C, 245 D + Testing. 1, 245

23, $ a = '3' ; $ b = (integer) $ a conversion What type? (A)
A, mandatory B, automatic type C, setType type D, type reference

24, the following code execution results? (A)

<?php
mysql_connect(‘localhost’, ’root’, ‘’);
$result = mysql_query(“SELECT id, name FROM tb1”);
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
        echo ’ID:’.$row[0].’Name:’.$row[];
}
?>

A, given B, printing only the first record C, all of the new line recording cycle D, no result

25. Which of the following wording Cookie can be set valid end user of an hour? (A)
A, Time () + 3600 B, Time (3600) C, gmtime, () + 3600 D, gmtime, (3600)

26. In jquey, if you want to delete all matched elements from the DOM, which of the following is true? (C)
A, Delete () B, empty () C, Remove () D, removeAll ()

27, there is not the XMLHttpRequest object attribute of Ajax (B)
A, the onreadystatechange B, C ABORT, the responseText D, Status

28, when the state of the function call callBackMethod XMLHttpRequest object changes, the following is correct (D).
A, the onreadystatechange = xmlHttpRequest.callBackMethod;
B, xmlHttpRequest the onreadystatechange (callbackMethod);.
C, xmlHttpRequest the onreadystatechange (new new function () {} callbackMethod);.
. D, the onreadystatechange = xmlHttpRequest callbackMethod;

29, is the core of AJAX (C)
A, standards-based representation techniques: XHTML / the CSS
B, data exchange and manipulation techniques: the XML / the XSLT
C, technical data acquisition: the XMLHttpRequest
D, client control: JavaScript

30, the background color of all p element to correct red jQuery code? (D)
A, $ ( "P") Manipulate ( "background-Color", "Red");.
. B, $ ( "P") layout ( "background-Color", "Red");
C, $ . ( "P") style ( "background-Color", "Red");
D, $ ( "P") CSS ( "background-Color", "Red").;

To learn more click on the title to join the official QQ group
1 + x test certificate web development front section

Guess you like

Origin www.cnblogs.com/zhsh666/p/11899840.html