Assessment Programs Python Model
Assessment Programs Python Model
Write a HTML page with the following fields and get input
WHen the submit button is clicked the fields should be validated using Javascript
and error messages shown
2. Write a Python program to get input of 5 student details like ROllNO, Name, Age,
Marks City and then store the same as a list.
3. Sort the above list into descending order of Marks and display the same.
5. Write a Python function that inputs a sequence of numbers and determines whether
all the numbers are different from each other.
6. Write a Python program to check whether the number is Prime or Not. Use a
function
9. Write a Python function that accepts a string and calculate the number of upper
case letters and lower case letters
10. Write a Python function that checks whether a passed string is palindrome or
not
11. Write a Python script to sort (ascending and descending) a dictionary by value
14. Write a Python function to create and print a list where the values are square
of numbers between 1 and 30
1
121
12321
1234321
123454321
16. Write a JavaScript program to print the contents of the current window
22. Write a JavaScript program which iterates the integers from 1 to 100.
But for multiples of three print "Three" instead of the number and for the
multiples of five print "Five".
For numbers which are multiples of both three and five print "ThreeFive"
23. Write a JavaScript program to construct the following pattern, using a nested
for loop.
*
* *
* * *
* * * *
* * * * *