following questions are very important for the coming ... hw(1).pdf · following questions are very...
TRANSCRIPT
![Page 1: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/1.jpg)
Announcement
Following questions are very important for the coming examination.
Section - A
1. What are the three types of computers? How do they differ?
2. How is compiler different from interpreter?
3. Name the super computer made by India?
4. What is MICR? Where it is major advantage and disadvantage of MICR as a
general propose input machine?
5. What are the two categories of printers? Which types of printers is speedier?
6. What is difference between RAM and ROM?
7. What does a bus mean?
8. What is port? Name some important ports.
9. Out of the following memory cards, pick the one that offers maximum read
speed along with maximum capacity?
(i) Memory stick ProDuo, (ii) MMC plus, (iii) Smart Media Card.
10. Write the full form of following terms:
(a) VDU (b) MICR (c) OMR (d) LCD (e) DMP (f) CRT (g) CD-ROM (h) CDR (i) DVD
(j) DVD-R (k) ATM
11. Distinguish between internal and external memory.
12. What are the broad categories of software?
13. What is application software? Why is ti required?
14. What is a DBMS?
![Page 2: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/2.jpg)
15. What is fragmentation? How does it affect computer’s performance? What
remedy do you suggest for it?
16. Discuss the following internet security issues:
(a) Hacking (b) Pharming (c) Phishing (d) Spyware (e) viruses
17. What are developer tools? Name some developer toos.
18. What are malwares?
19. What do you mean by PC intrusion?
Section – B
20. What do you understand by token?
21. What are identifiers ?
22. What is the difference between = and == ?
23. What is byte code?
24. How ordinary compiler is is different from java compiler?
25. What do you understand by JVM?
26. What is Write Once Run Anywhere characteristic of Java?
27. Name two types of Java programs.
28. How is Internet applets different form stand-alone applications of Java?
29. What do you understand by a message and an event?
30. What are containers or container controls?
31. What is the similarity and dissimilarity between option buttons and check
boxes?
32. What are RAD tools?
33. Explain the following:
(a) Event (b) Event Driven Program (c) Event Source (d) Listener
![Page 3: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/3.jpg)
34. What will be the output fo the following code segment?
int a = 5, b = 7, c = 4
System.out.println(“ “ + a + “\n” + b
“\n” + c) ;
35. Write the output of the following progam: int x = 5, y = 3, z ; Z = ++x + --y ; System.out.println(“value of z is :” + --z) ;
36. Write a Java program to input a number. If number is even, print its cube
otherwise, print its square.
37. Ravina’s basic salary is input through the keyboard. Her dearness allowance is
40% of basic salary, and house rent allowance is 20% of basic salary. Write a
program to calculate her gross salary.
38. Write a program to find the sum of the following series taking only the number
of terms desired by the user:
39. Write the following statement using the conditional operator
if(n != n1) System.out.println(“ ” + 0) ; else System.out.println(“ ” + 1) ;
40. Make a GUI program to input marks in five subject. Find average and award
grades as per the following guidelines.
Percentage Grade
90% and above A 89% to 80% B 79% to 70% C 69% to 60% D 59% to 50% E Less than 50% Fail
41. Write a Java program to find the sum of following series:
![Page 4: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/4.jpg)
S = 1-2+3-4+5+6-7+ . . . + N TERMS.
42. Write the equivalent C++ equivalent for the following:
(i)
(ii) √
43. Write a program that accepts a character form the keyboard and determines if
it is a vowel, if yes then it prints the vowel otherwise give the message “it is not
a vowel.”
44. What is the distinction between Call by value and Call by reference method of
function calling?
45. What are Java’s Integer types?
46. What output will the following code fragment produce?
int val, res, n = 1000 ;
res = n + val > 1750 ? 400 : 200 ;
System.out.println(res) ;
(i) if the input is 2000
(ii) if the input is 1000
(iii) if the input is 500.
47. A frame of and application has been designed as given below. It performs
arithmetic operations (+, - , * and /). Write the code so that it may work
![Page 5: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/5.jpg)
48. Write the java code for the following design of jFrame:
49 HSBC is a bank which provides three types of loans – Car Loan, House Loan and Education Loan.
![Page 6: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/6.jpg)
Announcement
Following questions are very important for the coming examination.
1. Name two types of Java programs.
2. What are containers or container controls?
3. What is the similarity and dissimilarity between option buttons and check
boxes?
4. What are RAD tools?
5. Explain the following:
(a) Event (b) Event Driven Program (c) Event Source (d) Listener
6. What will be the output fo the following code segment?
int a = 5, b = 7, c = 4
System.out.println(“ “ + a + “\n” + b “\n” + c) ;
7. Write the output of the following progam: int x = 5, y = 3, z ; Z = ++x + --y ; System.out.println(“value of z is :” + --z) ;
8. Write a Java program to input a number. If number is even, print its cube
otherwise, print its square.
9. Ravina’s basic salary is input through the keyboard. Her dearness allowance is
40% of basic salary, and house rent allowance is 20% of basic salary. Write a
program to calculate her gross salary.
10. Write a program to find the sum of the following series taking only the number
of terms desired by the user:
![Page 7: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/7.jpg)
11. Write the following statement using the conditional operator
if(n != n1) System.out.println(“ ” + 0) ; else System.out.println(“ ” + 1) ;
12. Make a GUI program to input marks in five subject. Find average and award
grades as per the following guidelines.
Percentage Grade
90% and above A 89% to 80% B 79% to 70% C 69% to 60% D 59% to 50% E Less than 50% Fail
13. Write a Java program to find the sum of following series:
S = 1-2+3-4+5+6-7+ . . . + N TERMS.
14. Write a program that accepts a character form the keyboard and determines if
it is a vowel, if yes then it prints the vowel otherwise give the message “it is not
a vowel.”
15. What output will the following code fragment produce?
int val, res, n = 1000 ;
res = n + val > 1750 ? 400 : 200 ;
System.out.println(res) ;
(i) if the input is 2000
(ii) if the input is 1000
(iii) if the input is 500.
16. A frame of and application has been designed as given below. It performs
arithmetic operations (+, - , * and /). Write the code so that it may work
![Page 8: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/8.jpg)
17. Write the java code for the following design of jFrame:
18. HSBC is a bank which provides three types of loans – Car Loan, House Loan and Education Loan.
![Page 9: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/9.jpg)
19.
20.
![Page 10: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/10.jpg)
21.
22.
23.
24.
25.
![Page 11: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/11.jpg)
26.
27.
28.
![Page 12: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/12.jpg)
29.
30.
31.
![Page 13: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/13.jpg)
32.
33.
![Page 14: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/14.jpg)
Announcement
Following questions are very important for the coming examination.
Section - A
Section – B
![Page 15: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/15.jpg)
Section – C
![Page 16: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/16.jpg)
Announcement
Following questions are very important for the coming examination.
Section – A
![Page 17: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/17.jpg)
Section – B
![Page 18: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/18.jpg)
Section – C
![Page 19: Following questions are very important for the coming ... HW(1).pdf · Following questions are very important for the coming examination. Section - A 1. What are the three types of](https://reader033.vdocument.in/reader033/viewer/2022060214/5f057e6f7e708231d4133d38/html5/thumbnails/19.jpg)