0% found this document useful (0 votes)
159 views10 pages

Java Programming Concepts and Questions

The document contains a comprehensive list of short and long questions for various subjects including Java, RDBMS, Networks, MS Office, C Language, and Accounts & Tally. It covers fundamental concepts, programming tasks, and theoretical questions relevant to each subject. The questions are designed for CSE students in their first and second years to assess their understanding and practical skills.

Uploaded by

ARaMaa Deve
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
159 views10 pages

Java Programming Concepts and Questions

The document contains a comprehensive list of short and long questions for various subjects including Java, RDBMS, Networks, MS Office, C Language, and Accounts & Tally. It covers fundamental concepts, programming tasks, and theoretical questions relevant to each subject. The questions are designed for CSE students in their first and second years to assess their understanding and practical skills.

Uploaded by

ARaMaa Deve
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CSE II YEAR

JAVA

I Short questions

1. What are the commands for compilation and execution of java programming?

2. What is byte code?

3. What is JVM?

4. What is JRE?

5. What is Applet?

6. What is object?

7. What is class?

8. What is instance?

9. What is literal?

10. What are primitive data types in java?

11. Difference between i++ and ++i?

12. What is method?

13. Syntax of switch statement?

14. Nested if statement?

15. What are the various loops statement in java?

16. What is an array & types of array?

17. What is package?

18. What is Interface?

19. What are 4 API packages?

20. Multitasking?

21. Multithreading?
22. What is compile time error?

23. Basic methods of Applet?

24. AWT?

25. What is event?

26. What is event listener?

II Long questions

1. Features of java?

2. Operators?

3. Relational operator?

4. Logical operator?

5. Assignment operator?

6. Increment & decrement operator?

7. Factorial of a given number program in java ?

8. A java program for addition of Matrix?

9. A program for finding biggest of 3 numbers?

10. Inheritance program?

11. Polymorphism program?

12. Exception types in java?

13. Basic methods in Applet?

14. Components?

15. Containers?

16. Different classes involved in event handling?


RDBMS

Short Question

1. Define DBMS?

2. Components of DBMS?

3. What is instance?

4. Define schema & sub schema?

5. Data independence?

6. What is entity & entity set?

7. Weak entity & strong entity?

8. What is domain ?

9. What is a tuple?

10. What is a degree of a table ?

11. What is relational database?

12. Super key?

13. Primary key?

14. What are unary operations?

15. What are Binary operations?

16. Internal datatypes in SQL?

17. What are TCL commands?

18. What is intignty constraints?

19. Datatypes in PLSQL?

20. Predefined exception?

21. Who is system analyst?

22. Methods of system implementation?

[Link] is data dictionary?


Long Question

1. Advantages of DBMS?

2. Data abstractions?

3. Data base administrator?

4. Mapping constraints?

5. What is attributes &types of attributes?

6. What are the CODD rules?

7. DDL commands?

8. DML commands?

9. Set operators?

10. Set operators?

11. Write the structure of the PLSQL?

12. Write datatypes and their usage in PLSQL?

13. Different stages of SDLC

NETWORKS

Short Question

1. What is data communications & types?

2. Define bandwidth?

3. What is network?

4. Expand LAN,MAN,WAN,BBN,GAN,PAN?

5. File servers?

6. What is multiplener?7. Adapter ?

8. Expand VSAT,ATM,FTP,EDI?

9. What is a browser?
10. What is IE?

11. What is FTP?

12. What is protocol?

13. What is virus?

14. What is Trojan horse?

15. What is hacking?

16. What is worm?

17. FTP,Email,TCPIP,WWW?

18. Define HTML?

19. What is hyper link?

20. Event & Event handling?

Long Question

1. Types of data communications ?

2. Transmission modes?

3. Transmission methods of data?

4. Communication channels?

5. Explain 3 topologies?

6. Types of network?

7. Explain LAN components?

8. Sending & receiving emails with an attachment?

9. Structure of HTML?

10. Different types of tags in HTML?

11. Different types of list ?

12. Difference between HTML & DHTML?


CSE 1ST YEAR

MS Office

Short questions

1. Write names of two input & output devices

2. What are the different number Systems

3. Various types of computers based on Size.

4. Various types of computers based on purpose

5. Various types of computers based on Operations

6. What is Software?

7. What is Hardware?

8. Multitasking?

9. Device Manager?

10. File explorer?

11. Control panel?

12. Shell?

13. mother board?

14. what Ribbon?

15. what office button

16. what is help systèm

17. short cut for open & Save

18. word count

19. Auto correct

20. Auto text

21. Thesaurus
22. Number of rows & Columns in 20

23. What is Spreadsheet

24. Auto fill

25. Split screen

26. Merge cells

27. Template

28. OLE

29. Views in powerpoint

30. Expand AVI & MPEG

31. Slide transition

32. Data, Database.

33. Primary key

34. filter

35. Query wizard

long questions

1. Characteristics of Computer

2. Block diagram of computer

3. Generations of computer

4. Linux Commands.

5. windows 10 features

6. Hardware components

7. Mail Merge

8. process for create, Edit & save a document.

9. Formatting a paragraph.
10. Charts

11. Functions

12. Steps for open, save & print worksheet

13. procedure for create , save and presentation

14. Steps for animation of slides?

15. Creation of table and enter 3 records

C language

Short Question

1. Algorithm?

2. Flow chart?

3. Symbols of flow chart?

4. Basic steps involved in problem solve?

5. C program structure?

6. Syntax of scanf & printf statement?

7. Syntax of switch statement & defination?

8. Basic data types in c?

9. What is nested loop statement?

10. What is function?

11. Storage class?

12. Iteration?

13. What is recursion?

14. What is array?

15. How to declare an array?

16. What are different types of array?


17. What is two dimensional array & write its application?

18. Write a c program to print IPE using one dimensional array?

19. What is a structure?

20. What is a pointer?

21. What are the operations used for pointers?

Long Question

1. Differentiate between Algorithm and Flow Chart?

2. Write Algorithm and Flow Chart for biggest of 3 numbers?

3. Operators in c?

4. Formatted and unformatted input and output statements in c language?

5. Data types in c ?

6. Conditional control statement?

7. Looping statement?

8. Difference between function and procedure?

9. Write a c program for factorial of a given number?

10. Write a c program for sorting list of numbers?

11. Write a c program for addition of two Matrices?

12. Difference between structure and union?

13. What is structure? Explain?

Accounts & Tally Short Question

1. What is journal ?

2. What is ledger?

3. What is ledger posting?

4. What is credit note & debit note?


5. Importance of cash book?

6. Types of cash book?

7. Cash discount?

8. What is trial balance?

9. What are final accounts?

10. Closing stocks?

11. Balance sheet?

12. Function keys used in tally?

13. Inventory information?

14. Cash flow statement?

15. Funds flow statement?

Long Question

1. Give the pro-forma of accounts & how entries are made?

2. Accounting conventions?

3. Accounting concepts?

4. What is an account & types of account?

5. Rules for debiting and crediting?

6. Page no:418 9th & 10th problem?

7. Page no:434&435 4th & 5th questions?

8. Page no:456 12th & 13th one column & two column cash book problem?

9. Page no:464 5th question?

10. Page no:465 9th problem?

11. Page no:486 12th & 13th questions?

12. Write the procedure to create company in tally?

Common questions

Powered by AI

Inheritance in object-oriented programming allows one class (subclass) to inherit the properties and methods of another class (superclass), enabling code reusability and reducing redundancy. This mechanism allows developers to create new classes based on existing ones, reusing code instead of rewriting it. It also promotes hierarchical class relationships and simplifies code maintenance by facilitating updates in the superclass that automatically apply to subclasses, enhancing consistency and reducing errors across similar objects .

Java's byte code is an intermediate representation of a Java program, compiled from the source code by the Java compiler. This byte code is portable and platform-independent because it can be run on any machine that has a Java Virtual Machine (JVM). The JVM interprets or compiles the byte code into native machine code specific to the operating system it runs on, allowing Java applications to be executed on any device equipped with a compatible JVM .

A primary key is a specific type of minimal super key that uniquely identifies each record in a relational database table. Unlike a super key, which can consist of multiple attributes, a primary key is the smallest possible set of attributes necessary to provide uniqueness for table rows. While all primary keys are super keys, not all super keys qualify as primary keys because they might contain additional attributes that are not needed to maintain uniqueness .

In Java Abstract Window Toolkit (AWT), event handling is the mechanism that controls the flow of events generated by user interactions with graphical user interface (GUI) components. Event listeners are interfaces implemented by objects to handle these events. When an event occurs, event objects are passed to the listener object's appropriate method, executing specific code in response. This system is crucial for GUI development as it decouples the event generation and handling processes, allowing for modular and maintainable code where interfaces respond dynamically to user inputs .

Strong entities are those that have a primary key to uniquely identify their records. They are self-sufficient and do not rely on other entities for their existence. Weak entities, on the other hand, cannot be uniquely identified by their own attributes alone and depend on a 'strong' entity through a foreign key relationship. Weak entities are identified by a combination of their attributes and the primary key of the strong entity on which they depend .

Network topologies significantly affect the efficiency and reliability of data communications by dictating the layout of the network's elements and the path that data travels. A bus topology features all devices sharing a single communication line, which can reduce setup costs but might lead to data collision issues. Star topology centers each device with a central hub, enhancing reliability because if one link fails, others remain unaffected; however, the hub's failure is critical. Mesh topology connects every device with one another, maximizing redundancy and reliability but also increasing costs due to the number of connections needed .

A Java package is a namespace for organizing classes and interfaces. It facilitates code organization and reuse by grouping related classes together, which helps avoid naming conflicts by providing namespaces, enhances readability by logically grouping classes, and allows developers to manage the accessibility and security of the classes. Packages also make it easier to distribute and share code, as they encapsulate related functionalities that can be reused across multiple projects .

Data independence in DBMS refers to the capacity of the database to change at one level of schema without altering the schema at the next higher level. It is crucial because it allows for efficient database maintenance and evolution. There are two types: logical data independence, which refers to changes in the logical schema (such as adding new fields or tables without altering existing applications), and physical data independence, which handles changes in the physical storage of data. This independence ensures that the database can scale and adapt without significant disruption to current applications .

HTML (Hypertext Markup Language) is the standard markup language used for creating static web pages, defining the structure and layout using tags. DHTML (Dynamic HTML) extends HTML by incorporating JavaScript, CSS, and the DOM (Document Object Model) to create interactive and animated web pages. The main difference is that DHTML allows pages to change dynamically without requiring a page reload from the server, providing responsive design and user interactions. This enables a more engaging user experience and sophisticated design elements, critical for modern web applications .

Multitasking in Java refers to the ability of the JVM to execute multiple processes simultaneously, such as running a Java program while another is executed in the background. Multithreading, a specific form of multitasking, allows multiple threads (smaller units of a process) to be executed concurrently within a single Java program, improving performance by utilizing CPU resources more effectively and enabling tasks such as complex computations, I/O operations, and user interfaces to run concurrently and independently .

You might also like