Thursday, December 5, 2019

Skill Enhancement Courses (SEC) python language

                                                      Question Set 1
  1.  What is high level language?
  2. Comparison of high level language and machine level language.
  3. What do you mean by compiler?
  4. Advantages and disadvantages of flowchart.
  5. Advantages and disadvantages of algorithm.
  6. Flowchart/algorithm-  i) odd/even checking ii) prime number checking iii) factorial of a number iv) Fibonacci series
  7. Data type- int, char, float.
  8. What do you mean by type casting?
  9. Example of logical operator and bitwise operator.
  10. Difference between while loop and do-while loop.
  11. Difference between while loop and for loop.
  12. Difference between break and continue.
  13. Difference between variable declaration and variable definition.
  14. Explain if and nested if.
  15. Explain loop and nested loop.
  16. WAP to display the first n terms of Fibonacci series.
  17. WAP to reverse a number.
  18. WAP to calculate the sum and product of digit of a number. CLICK
  19. WAP to display the factorial of a number. CLICK
  20. WAP to check a number is prime or not. CLICK
  21. WAP to check a number is perfect or not. CLICK
  22. WAP to check a number is strong or not. CLICK
  23. WAP to display the prime numbers in a range. CLICK
  24. WAP to display the first n perfect numbers.
  25. WAP to display the first n strong numbers.
  26. WAP to check a year is leap year or not. CLICK
  27. WAP to check a number is palindrome or not.
  28. List-  print(), append(), insert().
  29. List -  len(),max(),min().append(),insert().
  30. Searching in a list.
  31. Common elements in lists.

Skill Enhancement Courses (SEC) - c language


                                                       Question Set - 1
1. What is high level language?
2. Comparison of high level language and machine level language.
3. What do you mean by compiler?
4. Advantages and disadvantages of flowchart.
5. Advantages and disadvantages of algorithm.
6. Size of datatype- int,char,float.
7. Difference between prefix++ and postfix ++.
8. Example of logical operator and bitwise operator.
9. Difference between while loop and do-while loop.
10. Difference between while loop and for loop.
11. Difference between break and continue.
12. Difference between variable declaration and variable definition.
13. What do you mean by subscripted variable.
14. What do you mean by dynamic memory alloaction?
15. Write a c program to swap two values using 3rd variable.
16. Write a c program to swap two values without using 3rd variable.
17. Write a c program to find n!.
18. Write a c program to compute nCr, nPr.
19. Write a c program to largest and smallest number from a set of n numbers using array.
20. Write a c program to sort n numbers in ascending order.
21. Write a c program to sort n numbers in descending order.
22. Write a c program to perform addition,subtraction, multiplication of matrices.