What will be an output of the following code if value of variable application is 1? switch(application) -Technology

1 Answer

Answer :

The output is:OS

Related questions

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 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 : 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 : Rewrite the following code using switch case: int day=Integer.parseInt(jTextField1.getText()); -Technology

Last Answer : int day=Integer.parseInt(jTextField1.getText());switch(day){case 1:case 2:case 3:case 4:case 5:jOptionPane1.showMessageDialog(this, 'Working Day'); break;case 6:case 7:jOptionPane1.showMessageDialog(this, 'Off Day'); break;default:jOptionPane1.showMessageDialog(this, 'Invalid Entry');}

Description : Rewrite the following code using switch statement : -Technology

Last Answer : Given code using switch statement :switch (code){case A ;allowance = 3500 ;break ;case B ;allowance = 3200 ;break ;default ;allowance = 2000 ;break ;}

Description : What is the output of the following segment of the HTML code? -Technology

Last Answer : Output• MANGO• APPLE• GRAPES

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

Last Answer : ComputerAn electronic machineCPU Brain of computer

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

Last Answer : The HTML code isTableABD EG HI

Description : Will the output from the following two code be any different? -Technology

Last Answer : Yes it will be different as in First Code there will be no output while in Second Code the output will be 2 because in while loop condition is false in the beginning so control will not come inside ... once while in do while loop, loop will be executed at least once even if the condition is false.

Description : Predict the output of the following code: -Technology

Last Answer : The Output is:05

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 : 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 output of the following code : -Technology

Last Answer : [10 12 16 20]

Description : Consider the following python code and write the output for statement S1 import pandas as pd -Technology

Last Answer : 0.50 8.00.75 11.0

Description : Find the output of the following code -Technology

Last Answer : a bfirst 10 20second 6 32a b1first 10 NaNsecond 6 NaN

Description : Will the output from the following two code be any different? -Technology

Last Answer : Yes it will be different as in First Code there will be no output while in Second Code the output will be 2 because in while loop condition is false in the beginning so control will not come inside ... once while in do while loop, loop will be executed at least once even if the condition is false.

Description : Predict the output of the following code: -Technology

Last Answer : Output:05

Description : Find output of the following Java code snippet : -Technology

Last Answer : OutputDelhi 110001 10001

Description : Status bar is primarily used to switch between open windows and applications. -Technology

Last Answer : FalseStatus bar is not used to switch between open windows and applications but it simply shows the status of currently running applications.

Description : Ruby, a class XI student has just started learning java programming. Help her in the following: (i) Explain her the concept of variable -Technology

Last Answer : (i)Variables are named storage location to store values temporarily which can be changed during program execution.Data type states the way the values of that type are stored, the operations that can be done ... setText( Just Pass );In the above if statement, value of marks is being compared with 40.

Description : Help Manish in identifying the incorrect variable name with justification from the following: -Technology

Last Answer : I. (i)[emailprotected]; // Special symbols like '@' is not allowed in variable name(iv) avg marks;// Spaces are not allowed in variable nameII.int price;price=10;price=price*2;price=price-5;

Description : Identify the invalid variable names. State the reason if invalid. -Technology

Last Answer : Marks Unit is an invalid variable name because variable name does not allow spacing.

Description : The mechanism which changes the value of manipulated variable in response to the output signal from the control unit is called the (A) Final control element (B) On-off control (C) Floating control action (D) None of these

Last Answer : Option A

Description : The arrow drawn through the component shown in the illustration means that the device's value _____________. EL-0015 A. is fixed and cannot be changed B. is variable between two limits C. has yet to be determined for the circuit application D. is not allowed to change during circuit operation

Last Answer : Answer: B

Description : Can you change the value of a variable while debugging a C# application? 

Last Answer : Yes. If you are debugging via Visual Studio.NET, just go to Immediate window. 

Description : Can you change the value of a variable while debugging a C# application? 

Last Answer : Yes. If you are debugging via Visual Studio.NET, just go to Immediate window. 

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 : Sakshi is preparing a lecture on output device like monitor. Discuss. (i) Give some advantages of the output device ‘monitor’. -Technology

Last Answer : (i) (a) Relatively cheap and reliable.(b) Can display text and graphics in a wide range of colors.(ii) (a) No permanent copy to keep the results as it will disappear when the computer is switched OFF.(b) Unsuitable for users with visual problems.

Description : Identify input/output devices from the clues given below: (a) Transfers typed or handw -Technology

Last Answer : (a) Scanner(b) Barcode reader(c) Optical Mark Recognition (OMR)(d) Magnetic Ink Character Recognition (MIGR)(e) Printer (f) Speaker

Description : Output device used to generate the long map of building and shopping malls. (a) Dot_matrix (b) Inkjet (c) Plotter (d) Deskjet -Technology

Last Answer : (c) Plotter is a computer hardware device similar to a printer that uses a pen, pencil, marker or other writing tools to make a design.

Description : The ………. prints its output on special heat sensitive paper. -Technology

Last Answer : The thermal printer prints its output on special heat sensitive paper.

Description : A computer follows the rule of IPO (Input Process Output) cycle. -Technology

Last Answer : TrueComputer first takes the input via input devices, process it with the help of the CPU and gives the output through output devices.

Description : Question 5. Information is (a) data (b) processed data (c) manipulated input (d) computer output -Technology

Last Answer : (b) Information is the processed form of data.

Description : Write the output on the Web page for the following HTML command. -Technology

Last Answer : The output on the Web page will be the Atomic weight of O 2

Description : Comments are displayed in the output. -Technology

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

Description : Observe the table named “Training” given above carefully and predict the output of the following queries: -Technology

Last Answer : (i) New DelhiFaridabadGurugram(ii) 2(iii) 11000(iv) Ms. Neena

Description : Observe the given table named “Loan” carefully and predict the output of the following queries: -Technology

Last Answer : (i)(ii)(iii)(iv)

Description : On the basis of the Table Student, write the output(s) produced by executing the following queries: -Technology

Last Answer : (i)Max(Average)Min(Average)9565(ii)NameShrishtiAdityaRitu RajSaumyaAshutoshAman

Description : With reference to the above given tables, write commands in SQL for (i) and (ii) and output for (iii) below: -Technology

Last Answer : (i) select TName, Passenger from Train T, Reservation R where T.TrainId=R.TrainId;(ii) select T.* from Train T, Reservation R where T.TrainId!=R.TrainId;(iii)TrainIdTNameSourceDestination3424Lucknow MailLucknowNew Delhi5400Century ExpressNew DelhiKanpur

Description : Find the output of following program. -Technology

Last Answer : [40 50 60 70]

Description : Consider the following table Furniture. Write SQL commands for the statements (i) to (viii) and write output for SQL queries (ix) and (x). -Technology

Last Answer : SQL commands for the given statements (i) to (viii) ;1. SELECT FCODE, NAME. PRICE FROM Furniture WHERE PRICE < 5000;2. SELECT NAME. PRICE FROM Furniture3.4. WHERE NAME LIKE %table% ;5. SELECT DISTINCT WCODE ... ;15.16. Output for SQL queries (ix) and (x)(ix)SUM(PRICE)6500(x)COUNT(DISTINCT PRICE)5

Description : Write the output of the following SQL command. select round (49.88); (a)49.88 (b)49.8 (c)49.0 (d)50 -Technology

Last Answer : The correct answer is : (a) 50

Description : Cconsider two objects x and y. x is a list whereas y is a Series. Both have values 20, 40,90, 110. What will be the output of the following -Technology

Last Answer : (a). will give the output as:[20,40,90,110,20,40,90,110](b). will give the output as:Justification: In the first statement x represents a list so when a list is multiplied by a number, ... series. When a series is multiplied by a value, then each element of the series is multiplied by that number.

Description : Describe an application software. -Technology

Last Answer : An application software is designed to help the user to perform specific functions.

Description : Image files uploaded and downloaded over the Internet can be processed with a compression application. -Technology

Last Answer : (c) Image files are compressed before transmitted over the Internet to reduce transmission time.

Description : What is general purpose application software? Give some examples of general purpose application. -Technology

Last Answer : General purpose application softwares are those softwares, which are used for any general function. They allow people to do simple computer tasks. It is sometimes referred to as GPS. e.g. graphics, multimedia, presentation software, desktop publishing software etc.

Description : Plain text (txt) E_mail messages can be read by any type of E_mail application. -Technology

Last Answer : True Plain text E-mail contains plain text without any formatting options such as bold, italic, colored fonts etc., so these can be read by any type of E-mail application.

Description : Explain any five specific purpose application softwares. -Technology

Last Answer : 1. Hotel Management SystemIt refers to the management techniques used in the hotel sector. It includes hotel administration, accounts, billing marketing, housekeeping, front office or front desk, e.g. ... delivered to acustomer or set of customers.e.g. Billing Manager, BillingTracker, kBilling etc..

Description : Below is the list of various types of application softwares: A. Database B. Desktop publishing C. Drawing -Technology

Last Answer : 1. Drawing2. Word processing3. Desktop publishing4. Spreadsheet5. Database

Description : Operating system is a (a) application software (b) system software (c) hardware (d) language -Technology

Last Answer : (b) Operating system is a system software that acts as an interface between the user and the hardware.