Question Set 1
- What is high level language?
- Comparison of high level language and machine level language.
- What do you mean by compiler?
- Advantages and disadvantages of flowchart.
- Advantages and disadvantages of algorithm.
- Flowchart/algorithm- i) odd/even checking ii) prime number checking iii) factorial of a number iv) Fibonacci series
- Data type- int, char, float.
- What do you mean by type casting?
- Example of logical operator and bitwise operator.
- Difference between while loop and do-while loop.
- Difference between while loop and for loop.
- Difference between break and continue.
- Difference between variable declaration and variable definition.
- Explain if and nested if.
- Explain loop and nested loop.
- WAP to display the first n terms of Fibonacci series.
- WAP to reverse a number.
- WAP to calculate the sum and product of digit of a number. CLICK
- WAP to display the factorial of a number. CLICK
- WAP to check a number is prime or not. CLICK
- WAP to check a number is perfect or not. CLICK
- WAP to check a number is strong or not. CLICK
- WAP to display the prime numbers in a range. CLICK
- WAP to display the first n perfect numbers.
- WAP to display the first n strong numbers.
- WAP to check a year is leap year or not. CLICK
- WAP to check a number is palindrome or not.
- List- print(), append(), insert().
- List - len(),max(),min().append(),insert().
- Searching in a list.
- Common elements in lists.
No comments:
Post a Comment