Student Learning
Home
(current)
Aptitude
Class
FYBCA
SYBCA
TYBCA
Reading
About
FeedBack
Search
A1. Write a JavaScript code to greet the user according to the currenttiming
A2. Write a JavaScript Program to read a number from user, store its factors into the array and display that array.
A3. Write a menu driven program using JavaScript to perform the following operations on anarray
a. Display anArray
b. Sort elements of anarray
c. Reverse elements of anarray
d. Search a given element from anarray
B1. Write a menu driven program using JavaScript to find sqquareroot, power and absolute value of a given number.
B2. Write a JavaScript code to accept date from the user. If date entered by the user is
1st January then print ― Happy New Year,
if 14th January then ― happy Makarsankranti,
if 25th December then print ― Merry Christmas,
otherwise print ― Have a Good Day message
B3. Write a menu driven program using JavaScript to perform the followingoperations.
1. Insert an element instack
2. Delete an element fromstack
3. Display the contents ofstack
4. Insert an element inqueue
5. Delete an element fromqueue
6. Display the contents ofqueue
C1. Write a JavaScript program to display a Multiplication table in tabular format usingfunction.
C2. Write a JavaScript code to calculate maximum, minimum, sum and average of numbers in anarray
C3. Write a JavaScript code to accept birth-date and print the age of auser.