If a variable contains _____, it means that the variable does not exist.
a null value
void
empty string
0
Question 2
Which of the following is required as the second argument of the TryParse() method?
the name of the variable to parse
the data type
the out keyword
the Boolean value
Question 3
You must use the action attribute with a Web form.
False
No answer text provided.
True
No answer text provided.
Question 4
Whether or not data is posted back to a Web page is determined by its _____.
view state
control type
data type
request method
Question 5
Which of the following attributes identifies a form as an ASP.NET Web form that should be processed on the server instead of the client?
action
ID
runat="server"
method
Question 6
View state is maintained by assigning the form values to a hidden form field named _____.
_VIEWSTATE
VIEW__STATE
__VIEWSTATE
VIEW_STATE
Question 7
ASP.NET server controls are special types of HTML controls that run on the server and can be manipulated by ASP.NET programs.
No answer text provided.
No answer text provided.
True
False
Question 8
Which of the following Page class’s properties determines whether a Web form has already been submitted?
FirstSubmit
WasSubmitted
IsPostBack
IsSubmit
Question 9
You use the TextBox control to create a password field.
False
No answer text provided.
No answer text provided.
True
Question 10
Which of the following properties determines whether a check box is selected?
Checked
Active
ControlSelected
On
Question 11
Which of the following properties sets an initially selected item in a selection list?
Selected
Default
ItemFocus
SelectedItem
Question 12
Which property of the CompareValidator control identifies the data type that you want users to enter into the field?
DataType
Data
Value
Type
Question 13
When you use JavaScript to validate form data, you can always ensure that the data submitted to your ASP.NET program was submitted from the Web page containing the JavaScript validation code.
No answer text provided.
True
False
No answer text provided.
Question 14
Which of the following is NOT one of the properties of image controls?
Height
ImageURL
Contrast
AlternateText
Question 15
Relational and logical operators are evaluated?
Bottom to Top
Right to Left
Left to Right
Top to Bottom
Answer-1:- a null value
Answer-2:- The OUT keyword (with a value)
Answer-3:- FALSE (As it is not necessary, as per standard it is
required but not mandatory)
Answer-4:- ViewState
Answer-5:- runat="server"
Answer-6:- __VIEWSTATE
Answer-7:- FALSE(you can't manipulate, but can create customs
controls instead)
Answer-8:- IsPostBack
Answer-9:- True(<asp:TextBox ID="txtBox1"
TextMode="Password" runat="server" />
)
Answer-10:- Checked
Answer-11:- Selected
Answer-12:- Type
Answer-13:- FALSE
Answer-14:- CONTRAST
Answer-15:- TOP to BOTTOM(if we talk about only relational
operators then they have same priority, but if we talk about only
logical operators then they operate from left to right in case of
&& ||)
If a variable contains _____, it means that the variable does not exist. a null value...
HTML ASSIGNMENT Question 1: What is the value of the variable age after the following JavaScript statements are executed? var age = 30; age = " age is: " + age + 5; A. age is 30 B. age is + age + 5 C. age is 305 D. age is 35 Question 2: Assume there is an external JS file named "addContent.js". This file is located in the same folder as the HTML document "addContent.html". In order to make...
Modify the following file, so that: If the user input for the age input box is empty, please send the user a warning message: “Age field cannot be empty” and return to the form web page to allow the user to re-input the age; If the user input for the age input box is incorrect (e. g. less than 1), please also send the user a warning message: “Your age input is not correct!” and return to the form web...
12. Suppose you are going to make an online questionnaire to collect information of current trend of the social networking App. The questionnaire has already been drafted for you as shown below. When the questionnaire is submitted to the Web server, the server-side logic will check whether all necessary information has been entered. If not, an error message "The survey is not completed!” will appear on a web page and it will automatically divert the browser to the questionnaire page...
attribute(s) 1- In a table, you can merge cells together using the colspan or rowspan cellpadding or cellspacing merge mergecel or merger w 2-Which form submission method is more secure? c ENCTYPE POST GET C ENCODE 3-In an HTML table, any text within a header cell is automatically bolded. True с False 4-Cellpadding refers to the space between the edge of the table cell and its contents the size of the border around table cells c inserting an additional table...
TRUE or FALSE next to each o True / False - Read e question each statement carefully. Write the entire word 19. A Combobox should be used when users need to select multiple items 20. Radiobutton controls in the same group box allow one selection to be clicked at a ti 21. Data provider classes in ADO NET facilitate communication with Databases in a list 22. Classes in the SystemDataSqClent namespace facilitate operablity with MSAcces 23. Data Reader classes facilitate...
In JavaScript the inner function can access the variables from the outer scope even after the outer function has returned. This is because the variables are still bound in the inner function and not dependent on the outer function. This is called closure. True False 3 points QUESTION 2 Which of the following statements is true about JSON? a. JSON stands for JavaScript Object Notation. b. JSON is a syntax for storing and exchanging data. c. JSON is text,...
Question 1 When you declare a variable of type Single, it contains 0 by default. True False Question 2 The following line declares an array that can contain whole numbers, with 10 elements. Dim Variables(9) As Integer True False Question 3 Once a variable is declared we can not change the variable's data type. True False Question 4 If A is False and B is True, then A Or B is True because A is False. True False Question 5...
If the focus in a form moves from left to right and you want the focus to move from top to bottom, change the _____. . a. . sort order . b. . tab order . c. . form layout . d. . focus grouping What do you change when you drag the right border of a form in Form Design view? . a. . the layout of the form . b. . the width of the form ....
Create an HTML5 page that contains a form to collect the following data. The text in bold indicates the id value that should be assigned to each html control: Product (drop down list) product – iPad, iPhone 6S, Galaxy 5S, Moto X, and so on Quantity (number) quantity Unit price (number) unit_price Discount (%)(number) discount_rate Date (date) order_date First Name (text box) first_name Last Name (text box) last_name Payment type (drop down list) payment_type – Visa, Master, Discover, Amex, and...
answer the following questions: 1)ACK scans and NULL scans work only on UNIX and LINUX systems.(SELECT ONE): a)true b)false 2)Cross-site scripting attacks attempt to bypass the browsers security checks to gain elevated access privileges to sensitive data belonging to another site(SELECT ONE): a)true b)false. 3)Denial of service attacks target the confidentiality and integrity of a system or network.(SELECT ONE): a)true b)false 4)the wireless access point provides a connection to the network or service(SELECT ONE): a)true b)false 5)blocking ICMP packets may...