Wednesday, July 26, 2023

Hibernate with jdbc connection procedure



<div dir= " https://docs.google.com/document/d/178Xlhb0yuCEYOJ7cwaKHf9hCgK2dRt5L" height="700px"  width="700px">

</div>

Tuesday, November 6, 2018

Java small questions from previous papers




                 Section -A short question from previous papers

  1. Define class and object in java (3M)
  2. Write a short note on the installation of JDK. (4M)
  3. Discuss about binary, unary and ternary operators?
  4. What is Object Oriented Programming? How it is different from Procedural concepts?
  5. Support the statement “java byte code gives high performance”. (4M)
  6. What is an Object? How to allocate memory for objects?
  7. What is the significance of Java’s byte code? (3M)
  8. List the various ways of ‘static’ keyword usage.
  9. What is importance of Unicode in java? Explain. (3M)
  10. Explain about the this keyword with examples.
  11. Explain why Java is Machine Independent. (4M)
  12. Brief on constructor overloading?
  13. Can a method be overloaded based on different return type but same argument type ?
  14. What is the purpose of Alive () function in Java?
  15. What happens when there is no suitable try block to handle exception? (4M)
  16. Write a java program to create multiple threads.
  17. Explain about the final keyword with examples. (3M)
  18. How to suspend threads? Give examples
  19. Java class can be used both as an applet as well as an application" - Support this statement with an example.
  20. What are the different types of controls available in AWT?
  21. Differentiate class, abstract class and interface. (3M)
  22. How does Java support inter thread communication? (4M)
  23. Explain about the importance of extend and implement keywords. (4M)
  24. What is light weight process? Discuss. (3M)
  25. What is the use of ‘super’ keyword? (3M)
  26. What is the role of join ( ) in multithreading? (3M)
  27. Discuss about inner classes. (4M)
  28. Give a note on layouts in AWT?
  29. Differentiate between application and applet (4M)
  30. How menus are created? Give example.
  31. What are assertions?
  32. "Interfaces are able to extend more than one Interface but a Class can't extend more than
  33. One Class" - Why?
  34. What are the differences between applet and application programs? (4M)
  35. Give an overview of JButton class
  36. What is adapter class? Give examples. (4M)
  37. Differentiate between Text field and Text area and also discuss it’s
 constructors and method. (4M)
  1. Present the structure of a Java Applet. (4M)
  2. What are the different types of controls available in AWT?

Friday, November 2, 2018

2nd B.Tech CSE-(A,B)Grand Test Paper


SUB: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(Common To Cse-A,Cse-B)
Time :3 Hours                                                                                                                                                 Max Marks:75

                                                                      PART-A                                           (25 MARKS)
 1           a) what is an Exception? How it differ than error?(3)
b) Difference between final and finally?(3)
c) What is an multi threading?(2)
d) What is synchronized thread?(2)
e) What is StringTokenizer?(2)
f) What is an Event?(2)
g) What is an applet? Write the sample applet program?(3)
h) Draw the structure of AWT Hierarchy?(3)
i) What is the use of Toggle button and JFrame?(3)
j) What is multi-tasking?(2)
                                                          PART-B                                        (50 MARKS)
2     a) what are the exception handlers in java? Explain?
        b) Difference between checked exceptions and unchecked exception?
                                                       or
3     a) what are the limitations of AWT Components?
       b) Difference between multi-tasking and multi threading?

4      a) Difference between swing components and AWT components?
        b) Difference between applet and application? Write the small applet program?
                                                      or
5      a) Explain about thread life cycle in java?
        b) Difference between Array and vector? Why Array list is faster than vector?

6      a) Explain the Applet life cycle in java?
        b) What are the various Swing components in java explain?
                                                       or
7      a) What are the collection interface methods in java?
        b) Write about MVC architecture in java?

8      a) Explain different types of Layout Managers in java?
         b) What are the keyboard events?
                                                       or
9      a) What are the mouse events? Explain?
        b) Explain about bit-set and calendar classes in java?

10    a) Write about methods of Array list with sample program?
        b) Write about set and hash table methods in java with small java program?
                                                       or
11    a) What are the Action Listner classes and methods explain?
         b) Write a java program to design the application using the following swing components
            Jlabel1, Jlabel2, JtextField1, JTextField1, JButton1, Jbutton2?

                                                                                                Prepared by: Y.Amaraiah

Monday, March 13, 2017

c-important questions for better preparation



Part- A (25 Marks)
====================================================================
Q NUM 1:

A)What is an algorithm? explain with an example?(3m)

 B)Write history of c?(2m)

 C)Difference between client server and distributed environment?(3m)

 D)What is function? Write format of a function?(2m)

E)Write about IO functions?(3m)

F)Write different type qualifiers?(2m)

G)What is recursion? explain with example?(3m)

H)What is pointer ? Differentiate pointer and variable?(2m)

I)What are differences between while and do-while?(3m)

J)What is data type? write its types?(2m)

Part-B (50 Marks)(5*10=50)

Q. No. 1 a)Write about creating and running of a program?

              b)Write structure of c with example?

              c)Draw the flowchart for roots of quadratic equation?
                                     OR
Q. No. 2 a)Write program development steps?
              b)Define flow chart? Explain with example?
            c)Write the c-program to Calculate the distance traveled by the vehicle for the given velocity, acceleration, and time? (s=ut+1/2at2 )
Q. No. 3 Define operator? write its types with example programs?
                                   OR
Q. No. 4.a)Write a c program for prime number between 1 to n?
 b)Write c program for finding sum of individual digits?
c) Write a c program to check whether the given number is palindrome or not?
Q. No. 5 Write iterative control statements with examples?
                                          OR
Q. No. 6a)Write conditional(non-iterative) control statements with examples?

Q. No. 7 a)Write about different categories of functions with example programs?

             b)Write about storage classes with examples
                             
                            OR
Q. No. 8 a)Write about different types of arrays with example programs?

              b)Write c program for matrix multiplication?

Q. No. 9 a)Write about DMA(Dynamic memory Allocation functions) in

detail with example programs?

b)Write about pointer to pointer with examples?

                                 OR
Q. No. 10 a)Write how to use pointers as arguments in a function explain with

an example?

b)Explain Array of pointers with examples?
=======================================================================
COMPUTER PROGRAMMING
ANSWER ALL QUESTIONS
PART- A (25 MARKS)

A) What is a String? Write Syntax & semantic of String?(3m)

 B) Explain Sting I/O functions(gets()&puts())? (2m)

 C) Write about enumerated datatype?(3m)

 D) Write about typedef datatype? (2m)

E) What is a File?Give types of files (3m)

F) What is a bit filed? (2m)

G) What is a searching technique?What is a sorting technique? (3m)

H) Give the names of linear data structures? (2m)

I) What is a pointer?Give its advantages (3m)

J) What a c program using  pointer? (2m)

PART-B (50 MARKS) (5 X10=50)

 1  a) Write about DMA(dynamic memory allocation)?

              b) Explain pointer arithmetic?
                                               
              OR
2   Write about string manipulation functions with example programs?

3. Whatis a structure?Explain declaration,initialization,accessing member variables of a structure,with example program?
                                                   OR
 4.a) What is union?Explain with example program?

    b)What is the  differences between structure and union?

   
5. Write about different  modes of accessing a file with examples?
                 
                                   OR
6  Explain about binary search technique with example?


7  What is stack?Explain push and pop operations with example?
                             
                            OR
8 What is queue? Explain insertion and deletion operations with example?

 9 Explain about Bubble sort technique with example?
                                 OR
10 Explain about Selection sort technique with example?
========================================================================
COMPUTER PROGRAMMING
ANSWER ALL QUESTIONS
PART- A (25 MARKS)

A) Difference between client server and distributed environment?(3m)

              B) What are differences between while and do-while? (2m)

 C) What is recursion? Explain with example?(3m)

 D) Define array? Write its advantages?(2m)

E) What is pointer? Diffrentiate pointer and variable?(3m)

F) Define string? Write its I/O statements (gets (), puts ())? (2m)

G) Explain the concept of BIT FIELDS? (3m)

              H) Write different type qualifiers? (2m)

I) What Is Data structure? Explain ADT? (3m)

J) Write About Command Line Arguments In C? (2m)

PART-B (50 MARKS) (5 X10=50)

A ) i) Write Program Development Steps? (4M)
      ii) Write Structure Of C With Example?(3M)
      iii) What Is An Algorithm? Write Its Properties? (3M)
         
                                                           OR
            B) i) Define An Operator? Explain Various Operators Available In C? (5M)
                   ii) Explain Non-Iterative Control Statements? (5M)
    3     A )i) Define a Function? Explain Various Categories Of Function?(3m)
   ii) Define Parameter Passing Mechanism? Explain Its Types? (3m)
   iii) Define a Storage Class? Explain Types Of Storage Classes In C? (4m)
         
                                          OR
            B) i) Define an Array? Explain Array Types?(4M)
     ii)Define Recursion? Write a C program to Determine & print GCD of
          two Numbers?(3M)
    iii) Write a C Program to Perform Matrix Multiplication?(3M)

4. A )    i) Write a short note on
1. malloc( ) 2.calloc( ) 3.realloc( ) 4.free( )
       
                 Write a C-program to demonstrate malloc ( ) function in C.(6M)

            ii) Explain Various Arithmetic Operations that can be Performed on Pointers?(4M)
         
OR
            B)  i) Write About String Manipulation Functions With Example Programs?(7M)

                     ii) Explain Self-Referential Structures with an example? (3M)
 
5.. A )   i) What is A Structure? Explain Declaration, Initialization, Accessing  Member
            Variables Of A Structure, With Example Program?(3M)
       ii)Explain the Concept of Nested Structures?(4M)
      iii) Differences b/w Structure & Union?(3M)
         
          OR
            B) i) Write About Different Modes of Accessing A File With Examples?(5M)        
    ii) Explain Various Random Access File Functions?(5M)

6   A )  i) What Is Queue? Explain Enqueue and Dequeue Operations With
                          Examples?(5M)
      ii) Write a C program to demonstrate Selection Sort Techniques?(3M)
      iii) What are Applications of Queue?(2M)
         
OR
            B)  i) Define a Stack? Explain PUSH & POP Operations in Brief?(5M)
     ii)Write  a C program to demonstrate Binary Search Techniques?(3M)
     iii) What are Applications of Stack?(2M)


Wednesday, January 6, 2016

Internal Lab Exam Information



      All The Students Should attend to the Internal lab Exam on 8th Jan 2016 without fail with observation  notebook, Lab Record and Regular NoteBook......if YOU fail to produce ,not allowed to the Exam                                                                                         
                                                                                                    Amaraiah.Y
                                                                                             B.Tech,M.Tech,C.S.T.A,I.A.ENGG
                                                                                                   Assoc.Professor
                                                                                                    Dept Of Computer