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

1 Answer

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

Related questions

Description : Assume that variable x resides at memory location 1234, y at 1111 and p at 2222. Int x=1, y=2, *p; p=&x; y=*p; What will be the value of y after execution of above code? A) 2 B) 1 C) 1234 D) 1111

Last Answer : C) 1234

Description : Write Java code to assign the value 10 to variable x and store its square value in another variable y. -Technology

Last Answer : class Square{public static void main (String args [ ]){int x. y ; x = 10 : y = x * x ;

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 : What will be the final value of variable x after the following code is executed: -Technology

Last Answer : The value is:1

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 : What will be an output of the following code if value of variable application is 1? switch(application) -Technology

Last Answer : The output is:OS

Description : If a piece of data (field value) is stored in two places in the database, then storage space -Technology

Last Answer : False If a piece of data is stored in two places in the database, then storage space is wasted and changing the data in one spot will cause data inconsistency.

Description : When subroutine is called contents of program counter is location address of __ instruction following call instruction is stored on _ __and program execution is transferred to __ address. a. Non ... , Stack and Main program Cc. Executable, Queue and Subroutine d. Executable, Stack and Subroutine

Last Answer : d. Executable, Stack and Subroutine

Description : Why are local variable names beginning with an underscore discouraged? a) they are used to indicate a private variables of a class b) they confuse the interpreter c) they are used to indicate global variables d) they slow down execution

Last Answer : Answer: a Explanation: As Python has no concept of private variables, leading underscores are used to indicate variables that must not be accessed from outside the class.

Description : Data is stored in RDBMS in the form of (a) table (b) query -Technology

Last Answer : (a) Relational Database Management System stores data in the form of relation. As we know, relations are known as table.

Description : In database, all the data are stored at a ……………. location. -Technology

Last Answer : In database, all the data are stored at acentralizedlocation.

Description : Cracker is a person who breaks security to see what we have stored on our computers with mat intentions. -Technology

Last Answer : True Cracker breaks security with mal intentions.

Description : Copy of data created for safe storage is a) Saved copy b) Backup c) Dcopy d) Stored copy -Technology

Last Answer : Copy of data created for safe storage isBackup

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

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

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 : Write the HTML code to display horizontal line of red color. -Technology

Last Answer :

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

Description : Identify error(s) in the following HTML code. Also, write the correct code. type=“a” start=“d”> -Technology

Last Answer : tag’s attributes should be placed in between . In the list, the start attribute must be set to a numeric value and type attribute specifies ‘A’, ‘a’, T ‘i’ or ‘1’. So, the correct code is

Description : Write a code to produce the following output. -Technology

Last Answer : ComputerAn electronic machineCPU Brain of computer

Description : Write HTML code to display various bullet types. -Technology

Last Answer : LotusRoseSunHoonoutput

Description : Write HTML code to display ordered lists. -Technology

Last Answer : Many Ordered ListNumbered listSunMoonLetters 1is t SunMoonLowercase letters starting from 3rd 1etter

Description : Which program do you need to write HTML code? (a) Spreadsheet (b) Access -Technology

Last Answer : (c) From the given options, Notepad is useful program to write HTML code.

Description : Write the HTML code to display an image on the right side of the page. -Technology

Last Answer :

Description : Write the HTML code to display an inline image named pencil.jpg located at C:\ in the center of your Web page. -Technology

Last Answer :

Description : Identify the errors in the following HTML code and write the correct code with each correction underlined. -Technology

Last Answer : Error 1 The tag must be within element.Error 2 bgcolor attribute of body element supports a color like red, green or its color value.Error 3 tag needs a source attribute src to place an ... element must be closed not bgcolor attribute.The correct code is as follows:IMAGESHERE IS MY IMAGE FILE

Description : Write the HTML code to create a link for school .jpg located at C:\. -Technology

Last Answer : Image

Description : Write an simple HTML code to show an example of internal linking. -Technology

Last Answer : Internal LinkingIt is top of the page Top

Description : Write an HTML code to show the use of mailto function. -Technology

Last Answer : Use of mailto Send your views to [emailprotected]< / a >

Description : Write the HTML code to send an E_mail to [emailprotected] from your Web page. -Technology

Last Answer : [emailprotected]

Description : Write HTML code to illustrate 1. listed hyperlinks 2. image hyperlinks -Technology

Last Answer : Listed Hyperlinks: It is noticeable that tag can also be used for more complex task (as with images or with lists etc.)Example: To show listed hyperlinks. List List Fruit Chart Vegetable Chart ... as a link, following syntax is used: Example: To show image as link.< title>Image as Link

Description : Write HTML code to display a table with border of 5px. -Technology

Last Answer : l2 „

Description : Write the HTML code to create the exact table which is given below: ADMNO SNAME NAME DOB -Technology

Last Answer : The HTML code is ADMNO SNAMENAMEDOB1110MANJITRANJIT4-MAR-1998

Description : Write an HTML code to create the following table: 100 Amit 10 A -Technology

Last Answer : The HTML code is Roll NumberNameClass 100 Amit 10 A 101 Ankit 10 B 102 Arnab 10C Footer 1 Footer 2 Footer 3

Description : Observe the following table and write the HTML code to generate it: Question Marks -Technology

Last Answer : The HTML code isquestion< /th >marksl225

Description : Observe the following table and write the HTML code to generate it: Period 1 Period 2 -Technology

Last Answer : The HTML code isPeriodlPeriod2 MathScienceEnglishSST Science< /td >SST

Description : Write the HTML code to generate the following table with the contents exactly in the same format as shown within the table: -Technology

Last Answer : The HTML code is

Description : Write the HTML code to generate the following table on a Web page with the contents and alignment exactly as shown below: -Technology

Last Answer : The HTML code is

Description : Observe the following table and write the HTML code to generate it: Activities -Technology

Last Answer : HTML code is: Acdvities Sr School Maths Club Robotics Club Photography Middle School Gymnastic Yoga Computer Club Primary School Dance Vocal Music Swimming

Description : Write the HTML code to generate the following Web page:1. Link color is green, active link color is blue and visited link color is red. -Technology

Last Answer : The HTML code isEat healthy, live healthy KHAO PIYO RESTAURANTCollect Information for .MenusTours Menus available are 1 INDIAN 2 ITALIAN 3 CONTINENTAL 4 THAI < /tab1e> For further queries and reservation

Description : Write an HTML code to print the following table: -Technology

Last Answer :

Description : Write the HTML code to generate the following output: -Technology

Last Answer : The HTML code isTableABD EG HI

Description : Observe the following Web page and write HTML code to generate it: 1. Background color of page is yellow. -Technology

Last Answer : The HTML code is INDIAN RHINOCEROSThe Indian rhinoceros lives primarily in northern India and Nepal. These massive beasts have some noticeable physical differences from their African relatives.Their segmented hide looks like a ... .5 ft; Height up to 6 ftWeight4,400 lbs (2,000 kgkg) For more Details

Description : Observe the following Web page and write HTML code to generate it.1. Title of the page is “Cleanliness” -Technology

Last Answer : IMPORTANCE OF CLEANLINESS IMPORTANCE OF CLEANINESS Cleanliness is not a work which we should do forcefully. It is a good habit and healthy way of our healthy life. All type of ... should be highly aware about now to maintain cleainless in our daily lives. Factors affecting the environment

Description : Write the HTML code to display links of a web page in yellow colour. -Technology

Last Answer :

Description : Observe the following table and write the HTML code to generate it : -Technology

Last Answer : GenerateHTML code

Description : Write the HTML code to generate the following web page with the given below specifications: -Technology

Last Answer : Income Tax Slabs 2017-18INCOME TAX SLABS 2017-18S.No.Income RangeTax%10-250000NIL2250001-50000010%3500001-100000020%4>100000030%Next Page