0% found this document useful (0 votes)
6 views1 page

Javascript Sample Question Paper

The document contains a series of programming tasks in JavaScript, including adding elements to an HTML page, validating passwords, checking for palindromes, sorting elements, calculating total marks, and iterating through numbers to check for odd or even. Each task outlines specific requirements and expected outcomes for the JavaScript programs. The focus is on practical applications of JavaScript for web development and basic programming concepts.

Uploaded by

l05963934
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Javascript Sample Question Paper

The document contains a series of programming tasks in JavaScript, including adding elements to an HTML page, validating passwords, checking for palindromes, sorting elements, calculating total marks, and iterating through numbers to check for odd or even. Each task outlines specific requirements and expected outcomes for the JavaScript programs. The focus is on practical applications of JavaScript for web development and basic programming concepts.

Uploaded by

l05963934
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. How to add an element horizontally in Html page using JavaScript?

2. Write a JavaScript program to validate whether a given password is the same in the box retype
password and validate that the password is not more than 8 characters
3. How to add an element horizontally in Html page using JavaScript?
4. Write a program javascript to find a string is palindrome or not?
5. Write a JavaScript program to sort a list of elements using Cocktail shaker sort.
6. Write a JavaScript program to validate whether a given password is the same in the box retype
password and validate that the password is not more than 8 characters
7. Write java script, to accept marks in three subjects input and print-Tomarks obtained and
Result. If the total marks obtained is 150 or more, then only the candidate should be declared
pass otherwise she should be declared Fail. The Output should display only using input box
Means don't use box like alert, Confirm, Prompt etc.
8. Write a javaScript a loop that will iterate from 0to 15. For each iteration ,it will check if the
current number is odd or even, and display a message to the screen ?

You might also like