JavaScript Interview Questions
Questions Answers Views Company eMail

Write a Program of Simple Calculator in JavaScript using HTML.

1 7450

What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

2153

In Java coding we will write a public static void main()? Why won't we write as a static public void main()

1511




what is service now ticketing tool how it works

Ideal Vision,

4482

How to create scale in P info

MAHINDRA,

1269

what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

999

Describe what u had done today?

Genpact, Sams,

1176

Please write the Code of simple javascript calculator withot eval() function

856




what is a code in vb amount display in words

675

Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

638

why we need java instead of c

TCS,

539

what is a difference of subclass and main class

549

a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.

IBM,

436

A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a java program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

667

write a program using javascript/ vbscript that checks if two matrices have identical values in all the elements.

1 2001


Post New JavaScript Questions






Un-Answered Questions { JavaScript }

hello sir my name is naga sekhar i completed my b-tech in 2011 with 61% in IT streme.I completed my core and advanced java coure before 8months back.Still i did not get the job.i tried so many times.and i went to some interviews but no use.now i want to get the job in software sector

1088


how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.

4639


Describe what u had done today?

1176


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

1182


In Java coding we will write a public static void main()? Why won't we write as a static public void main()

1511






java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30

839


why we calld java object orinted programming language??

929


A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a java program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

667


what is the different between html and java?why the java is required in internet?

941


java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.

833


How to test PAGE LOAD TIME, RELOAD THE PAGE, CAPTURE THE URL'S , TEST THE PIXALS please please above all these how to test as a tester

1258


what is the function of public class main ?

917


Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

638


How can we establish connection with java and sql server?

947


How to change video files randomly after completing its execution in Javascript?

1153