What will be displayed in jTextFieldl and jTextField2 after the following code is executed : -Technology

1 Answer

Answer :

OutputjTextFieldl will contain value = 12jTextField2 will contain value = 13

Related questions

Description : Predict the output displayed in text fields named jTextField2 and jTextField3 after running the above code. -Technology

Last Answer : (i) GREEN WORLD, CLEAN WORLD76 more characters can be entered(ii)length(),toUpperCase()

Description : What values will be displayed in JOptionPane when the following code is executed? -Technology

Last Answer : No value will be displayed in JOptionPane because it will give exception in thread ‘main’ due to null.

Description : What will be the final value of variable x after the following code is executed: -Technology

Last Answer : The value is:1

Description : What will be the values of i and z after the following code is executed : -Technology

Last Answer : Value of i = 10Value of z = 5

Description : (i) Ms. Sangeeta wants to add few descriptive lines in the HTML code which should not be displayed on the webpage rather -Technology

Last Answer : (i) She should use comments in HTML.Any text to make comments in HTML, should be preceded by Example:Welcome(ii)HTML is used to display data and to focus on formatting of data, whereas XML ... XML is used to store and transfer the data over different platforms while HTML is used to design webpages.

Description : Why do we insert comments in an HTML document, even though they are not displayed on a Web page? -Technology

Last Answer : So, that user will be able to understand coding effects and meaning.

Description : How can text be displayed in place of image for users whose browser do not support images? -Technology

Last Answer : The alt attribute of the tag is used to display the text in place of the image for the users whose browser do not support images.

Description : The text specified in the alt attribute is displayed as tooltip in (a) Internet Explorer -Technology

Last Answer : (a) The text specified in alt attribute is displayed as the tooltip in Internet Explorer only.

Description : The alternate text of an image can be displayed by using attribute of the tag. (a) src (b) alt -Technology

Last Answer : (b) alt attribute of the tag is used to display the alternate text of an image.

Description : ……………. is an attribute of the tag which specifies the location or URL of the image to be displayed. -Technology

Last Answer : src is an attribute of the tag which specifies the location or URL of the image to be displayed.

Description : An image to be displayed in a Web page has to cover 25% of the browser window horizontally and 50% vertically. -Technology

Last Answer : An image to be displayed in a Web page has to cover 25% of the browser window horizontally and 50% vertically. The attributes height and width of the tag would be used for achieving this.

Description : The align attribute of the tag is used to specify the text that is to be displayed -Technology

Last Answer : False alt attribute is used to specify the text that is to be displayed in case the browser which does not support graphics.

Description : Vallesoft Pvt. Ltd has designed and developed a Website that will be displayed differently in each of the continents. -Technology

Last Answer : (i) None of the given code fragments are well-formed.(ii) The correct code is: STAR TV 9.00PM Family Drama (iii) The XML tree is

Description : Comments are displayed in the output. -Technology

Last Answer : False Comments are not displayed in the output.

Description : When a field name has a space in its title, such as Last Name, how is the merge field displayed in the mail merge document? -Technology

Last Answer : (c) When a field name has a space in its title, such as Last Name, Last_Name is the merge field displayed in the mail merge document.

Description : In Excel chart, text displayed at data points to indicate the specific category is called …………….. -Technology

Last Answer : (c) Text displayed at data points to indicate the specific category is called data label.

Description : Explain with the help of an example that why should atransaction be executed as a whole or it should be not executed at all -Technology

Last Answer : A transaction is a set of changes that must be made together. It is a program unit whose execution mayor may not change the contents of a database. Transaction is executed as a single unit. ... from one bank account to another requires two changes to the database both must succeed or fail together

Description : ‘Class’ table has columns RNO and NAME. The following statements are executed: -Technology

Last Answer : Output for the 1st SELECT * FROM Class ; statement -RNONAME5Rajeev6Chris7FerozeOutput for the llnd SELECT * FROM Class; statementRNONAME5Rajeev6Chris

Description : Aren't the US flags displayed behind the president in violation of the flag code?

Last Answer : On that logic there is only allowed to be one US flag flying within the whole of the United States. Where should it go?

Description : The binary code for each pixel is used to determine A. Which colour will be displayed B. How big the image is C. What shape the image is D. How many pixels will be in the image

Last Answer : A. Which colour will be displayed

Description : ……………. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program. A) Compiled Instructions B) Compiled code C) byte code D) Java mid code

Last Answer : C) byte code

Description : What is the output of the following piece of code when executed in Python shell? >>> a=("Check")*3 >>> a a) (‘Check’,’Check’,’Check’) b) * Operator not valid for tuples c) (‘CheckCheckCheck’) d) Syntax erro

Last Answer : c) (‘CheckCheckCheck’)

Description : What is the output when following code is executed ? >>>list1 = [11, 2, 23] >>>list2 = [11, 2, 2] >>>list1 < list2 is a) True b) False c) Error d) None

Last Answer : b) False

Description : What is the output when following code is executed ? names1 = ['Amir', 'Bear', 'Charlton', 'Daman'] names2 = names1 names3 = names1[:] names2[0] = 'Alice' names3[1] = 'Bob' sum = 0 for ls in (names1, names2, names3): ... if ls[1] == 'Bob': sum += 10 print sum a) 11 b) 12 c) 21 d) 22

Last Answer : d) 22

Description : What is the output when following code is executed ? >>>names = ['Amir', 'Bear', 'Charlton', 'Daman'] >>>print(names[-1][-1]) a) A b) Daman c) Error d) n

Last Answer : b) Daman

Description : What is the output when following code is executed ? >>>str1="helloworld" >>>str1[::-1] a) dlrowolleh b) hello c) world d) helloworld

Last Answer : a) dlrowolleh

Description : hat is the output when following code is executed ? >>>print r"\nhello" The output is a) a new line and hello b) \nhello c) the letter r and then hello d) error

Last Answer : d) error

Description : What is the output when following code is executed ? >>> str1 = 'hello' >>> str2 = ',' >>> str3 = 'world' >>> str1[-1:] a) olleh b) hello c) h d) o

Last Answer : b) hello

Description : A compiler is used to convert the following to object code which can be executed (A) High-level language (B) Low-level language (C) Assembly language (D) Natural language

Last Answer : (A) High-level language

Description : When the following code is executed what will be the value of x and y? int x = 1, y=0; y = x++; (A) 2, 1 (B) 2, 2 (C) 1, 1 (D) 1, 2

Last Answer : (A) 2, 1

Description : Find the output of the following Java code snippet after execution of each java statement labelled -Technology

Last Answer : The output is:IN5inin5

Description : Write the value that will be stored in variable a after execution of the following code if : -Technology

Last Answer : (i) Value of a = 10, if initial value of a is 8(ii) Value of a = 17, if initial value of a is 10

Description : How to remove the username that gmail keeps displayed (even after signing out) on the sign in page?

Last Answer : Delete cookies and check browser settings to be sure that you’re not saving passwords and usernames as a general rule.

Description : ………. reads the bar code information. -Technology

Last Answer : Barcode Reader reads the bar code information.

Description : Machine language sometimes referred to as (a) programming language that is used widely by the programmer. (b) machine code or object code -Technology

Last Answer : (b) Machine language sometimes referred to as machine code or object code because it is the language which is only understood by the computer as a computer itself is just a machine or an electronic device.

Description : Consider the following database: Product Code Product Name Date of sale QtySold Customer Name Amount -Technology

Last Answer : 1. Qty Sold and Amount fields2. ProductCode field3. Date/Time data type4. ProductCode, ProductName and CustomerName fields5. 6 fields and 5 records6. Validation Rule

Description : Write HTML code to set the image ‘Pen. jpg’ stored in ‘My Pictures’ folder in C: -Technology

Last Answer : The HTML code is .

Description : Write the extension of HTML code file. -Technology

Last Answer : The extension of HTML code file is.html or .htm

Description : What is the method of viewing the source code of the current page in the Web browser? -Technology

Last Answer : Right click on the Web page and then select View Source from the context menu.

Description : While writing HTML code, how do you find out how your Web page would look like? -Technology

Last Answer : For this, open the HTML code file in a Web browser.

Description : Identify the error(s) in the following HTML code. Also, write the correct code. -Technology

Last Answer : The error in the code is that in place of color attribute there should be bgcolor.The correct code is

Description : What is the use of tag in HTML code? Write any two options used with this tag. -Technology

Last Answer : The tag is used to change the size, color and type face of the text on HTML page. It uses attributes such as size, face etc.

Description : Identify the errors and write the correct HTML code 1. -Technology

Last Answer : 1. 2.

Description : What is the method of using comment line in the HTML code? -Technology

Last Answer : In HTML code, the comment line is declared as

Description : Write the HTML code to display horizontal line of red color. -Technology

Last Answer :

Description : Find error(s) in the following HTML code segment. Rewrite the correct code. -Technology

Last Answer : There should be type instead of style. So, correct line is

Description : Find the error(s) in the following code and underline those errors. -Technology

Last Answer : should be placed before The correct code is Example

Description : What is the use of tag in HTML code? Write any two attributes used with this tag. -Technology

Last Answer : The tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images and so on. The tag uses various attributes such as background, bgcolor etc.

Description : Write the HTML code to set the bgcolor as pink, heading level 2, text -Technology

Last Answer :

Description : Write the HTML code to create a paragraph whose text color is blue. -Technology

Last Answer : or