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

1 Answer

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 on that type and the range for that type.For example:int marks;In the above statement,intis the data type and marksisthe name ofvariablewhich store values temporarily.(ii)Assignmentoperator (=) is used to assign any value in a variable/constant while comparison operator (= =) is used to compare values.For example:int marks=90;In the above statement value 90 is assigned to the variable named marks.if(marks==40)jTextField1.setText(“Just Pass”);In the above if statement, value of marks is being compared with 40.

Related questions

Description : Ruby, a class XI student has just started learning java programming. Help her in the following: -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 : Ms. Archana, a class XI student has just started learning MySQL. Help her in understanding the basic difference between -Technology

Last Answer : ALTERUPDATEIt s a DDL command.It s a DML command.It can be used for the following purpose:To add a new column.To remove an existing column.To modify a column.To add/remove a constraint.It s ... Delhi ;suitable command:(i)Show Databases(ii) Use City(iii) Drop Database Clients(iv) Drop table Club

Description : Vani, a class X student has recently completed her HTML course and just started learning XML. Help her in the following: -Technology

Last Answer : (i) Primary purpose of HTML is to design a webpage while XML is used to store and transport the data.(ii) Right(iii) Comments are added as notes or lines for understanding the purpose of an XML ... .Syntax for comments are as follows:(v)An XML document with correct syntax is called 'Well Formed'.

Description : Consider the table STUDENT given below: RollNo Name Class DOB Gender City Marks 1 Anand XI 6/6/97 M Agra 430 -Technology

Last Answer : (1)b. Both (iii) and (iv)(2) b.RollnoNameClassDOBGenderCityMarks6734MaakhiyNehaGeetPreetiXIXXIXII12/12/948/12/956/5/978/8/95FFFFDubaiMoscowAgraMumbai256324470492

Description : Anju, a beginner in java programming has written following code with some mistakes: -Technology

Last Answer : int k=0;String s='Save Earth';int l=s.length();for(int i=0;k

Description : (a) Following is a list of programming languages : BASIC, COBOL, C, JAVA -Technology

Last Answer : (a) JAVA, COBOL(b) jListl. getSelectedValue ( ) ;

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 : Explain the purpose of pow() method with the help of suitable java code. Also mention that pow() method belongs to which class? -Technology

Last Answer : pow() method, a mathematical method, helps in calculating the power of any number.For example:int num=2,power=4;int ans=Math.pow(num,power);t1.setText(''+ans);The above code will calculate the value of 24 and will give answer 16.pow() method belongs to math class.

Description : Electronic Discrete Variable Automatic Computer(EDVAC) was designed on __________ concept. (A) Objective Programming (B) Stored program (C) Both (A) and (B) (D) None of the Above

Last Answer : (B) Stored program

Description : Is it worth learning Ruby on Rails if I am already into Angular Technology?

Last Answer : Definitely, ruby on rails allows developers to build incredible new and modern applications. The more you know about new technologies and tools to develop, the better ranked you will be in the market. ... web that helps you solve doubts and resolve issues. The more you know, the better, always!

Description : ______provides a powerful and natural mechanism for organizing and structuring your software. It also explains how classes inherit state and behavior from their super classes and explains how to derive one class ... the java programming language: a) Object b) Inheritance c) Class d) None of These

Last Answer : b) Inheritance

Description : GAE contains the several runtime environments including : JAVA, Python, _______ & a) C# & MySQL b) Net & Ruby c) PHP & GO d) Closure & Scala

Last Answer : PHP & GO

Description : Would you like to learn about the two popular programming languages: Python vs Ruby?

Last Answer : I like to to learn programming languages because it will be very helpful to get a good job and good salary. Now I am studying online programming language classes and I hope I will become good.

Description : The concept of multiple inheritance is implemented in Java by A) extending two or more classes B) extending one class and implementing one or more interfaces C) implementing two or more interfaces D) both B and C

Last Answer : D) both B and C

Description : The concept of multiple inheritance is implemented in Java by A) extending two or more classes B) extending one class and implementing one or more interfaces C) implementing two or more interfaces D) both B and C

Last Answer : D) both B and C

Description : Shewani has recently started working in MySQL. Help her in understanding the difference between the following : -Technology

Last Answer : (i) Where clause is used to show data set for a table based on a condition and having clause is used to put condition on the result set that comes after using Group by clause.(ii) COUNT ... unique as single column or combined multiple columns to the table. They are all candidates for Primary Key.

Description : Consider the following database Student:Roll No. First Name Last Name Class Marks Obtained(%) Scholarship Awarded -Technology

Last Answer : 1. 95.42. Mohan Garg and scholarship awarded is 50000.3. 54. 6

Description : Rishi, a class XII student has given following commands for the given purposes: (i) To add a new column “Rating” : -Technology

Last Answer : No, above commands will not be able to achieve desired task as update and alter commands have been interchanged.In order to achieve desired result, following corrections should be incorporated in the previously used ... give an increase of 50 Rs. to all the books:Update library set price=price+50;

Description : In Marks column of ‘Student’ table, for Rollnumber 2, the Class Teacher entered the marks as 45. -Technology

Last Answer : UPDATE Student SET Marks = 50 WHERE Roll number = 2;

Description : Mrs. Sharma is the classteacher of Class ‘XII A’. She wants to create a table ‘Student’ to -Technology

Last Answer : (i) RolINo, Name can be the attributes of Student table.(ii) Primary key of the table Student is RolINo, because RolINo is a field in Student table which uniquely identifies each rows/records in a database table.

Description : (1) Prachi has given the following command to obtain the highest marks Select max(marks) from student where group by class; -Technology

Last Answer : (1)d. Select class, max(marks) from student group by class;(2)b. Both (ii) and (iv)(3)b. select name,max(DOB) from student;

Description : There are 312, 260 and 156 students in class X, XI and XII respectively. Buses are to be hired to take these students to a picnic. Find the maximum number of students who can sit in a bus if each bus takes equal number of students (a) 52 (b) 56 (c) 48 (d) 63

Last Answer : (a) 52

Description : Should high level programming be a mandatory class next to learning writing and reading in primary school and onwards? Your arguments please.

Last Answer : No, because it is not a skill that everyone needs to have. The people who use it will learn it, but it isn’t equivalent to reading and writing.

Description : What convincing argument was made by Anne? i) She was talkative just like any other student in the class. ii) She had the right to be talkative, as it was a classroom and not a prison. iii) ... being talkative. iv) She found it impossible to be quiet like the others as she couldn t change herself.

Last Answer : iii) She had inherited the trait from her mother, so couldn‘t stop being talkative.

Description : As a student, K-12, did you view field trips and movies shown in class as a learning experience or a break from classwork?

Last Answer : answer:When I was a kid, they were breaks in the monotony and nothing more. Sure, we went to the Museum of Science or the New England Aquarium. But I already went there with my mom - and when I was ... and experience, but I honestly believe they are just a fun (or not so fun) treat for the kids.

Description : A teacher uses a text and some pictures of fruits and vegetables and holds a discussion with her students. The students link the details with their previous knowledge and learn the concept of ... of learning B) Theory of reinforcement C) Operant conditioning of learning D) Construction of knowledge

Last Answer : D) Construction of knowledge 

Description : Write java statement to make the Net Fee text field named txtNetFee un_editable at run time. -Technology

Last Answer : txtNetFee.setEditable(false);

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

Last Answer : OutputDelhi 110001 10001

Description : Is there a Perl alternative to Ruby on Rails and Django?

Last Answer : Seriously, if you’re comparing women to programming languages, you have MUCH bigger problems than this…

Description : Can someone explain the concept of downcasting in java?

Last Answer : Bruce Eckel’s Thinking in Java, a freely-available book (you can download the whole thing from his site), is excellent and his description and example of downcasting can probably explain the concept better than I can explain it…

Description : Explain the concept of platform independence and portability with respect to Java language.

Last Answer : Java is a platform independent language. This is possible because when a java program is compiled, an intermediate code called the byte code is obtained rather than the machine code. Byte code is a highly ... of the JVM will defer from platform to platform, all interpret the same byte code.

Description : I love programming in Qbasic... and can't seem to learn C+ or Java... am I doomed?

Last Answer : answer:Try Just BASIC if you don’t plan to write code as a career. If you’re wanting a “bridge” to C++ or Java, try the PHP server-side scripting language or Python.

Description : Which organization first developed the Java programming language ?

Last Answer : Sun Microsystems first developed the Java programming language.

Description : Which is not the commonly used programming language for AI? a) PROLOG b) Java c) LISP d) Perl

Last Answer : d) Perl

Description : Java Programming Language was originally developed by Sun Micro-systems which was initiated by _______: a) James Gosling b) Charles Babbage c) Steford Pascal d) None of These

Last Answer : a) James Gosling

Description : Which of the following is not a programming language: a) Java b) Basic c) Knuth d) None of These

Last Answer : c) Knuth

Description : Java Programming language was invented by: a) Christopher Kelein b) Charles Babbage c) James Gosling d) Grace Hopper e) None of These

Last Answer : c) James Gosling

Description : A ____ is a namespace for organizing classes and interfaces in a logical manner. Placing your code into ______makes large software projects easier to manage. This section explains why this is useful and ... provided by the Java Platform: a) Inheritance b) Object c) Package d) None of These

Last Answer : c) Package

Description : Which of the following is a popular Programming Language for developing multimedia Web pages, Websites and web-Based applications? 1) COBOL 2) JAVA 3) ASSEMBLER 4) Nine of these

Last Answer : 2) JAVA

Description : What second programming language did Google add for App Engine development? A. C++ B. Flash C. Java D. Visual Basic

Last Answer : Java

Description : Which of the following programming medium makes social networking widgets more prevalent than the past? A. HTML B. CSS C. JAVA D. AJAX

Last Answer : AJAX

Description : What was Hadoop written in? a) Java (software platform) b) Perl c) Java (programming language) d) Lua (programming language)

Last Answer : Java (programming language)

Description : . _____________ The open source clone of GFS. Written in Java. The programming interfaces are similar to POSIX but not identical. a) HDFS b) SAMIL c) SCIM d) DVE

Last Answer : HDFS

Description : Java has its origin in A) C programming language B) PERRL C) COBOL D) Oak programming language

Last Answer : D) Oak programming language

Description : hich is not the commonly used programming language for AI? ⮚ PROLOG ⮚ LISP ⮚ Perl ⮚ Java script

Last Answer : ⮚ Perl

Description : Which is not the commonly used programming language for AI? A. PROLOG B. LISP C. Perl D. Java script

Last Answer : C. Perl 

Description : Which of the following is not a programming language? (A) Pascal (B) Microsoft Office (C) Java (D) C++

Last Answer : (B) Microsoft Office

Description : The pure object oriented programming language with extensive metadata available and modifiable at run time is (A) Small talk (B) C++ (C) Java (D) Eiffel

Last Answer : (A) Small talk

Description : Which one of the following is correct? (A) Java applets cannot be written in any programming language (B) An applet is not a small program. (C) An applet can be run on its own. (D) Applets are embedded in another applications. 

Last Answer : (D) Applets are embedded in another applications.