SUPERSTARWEBTECH

There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

CS506 current midterm paper subjective questions and MCQS from JUNE 15 to JUNE 26, SPRING 2019

Total Questions: 23
MCQS: 18

Subjective Question: 5 
3 and 5 marks questions
CS506 MID TERM SPRING 2019 
CURRENT PAPER NO. 1

CS506 WEB DESIGN & DEVELOPMENT Current mid term paper SPRING 2019

πŸ‘€ SEE ALSO: Course wise exam instructions

QUESTIONS
1. Which of the following is a DDL statement.
Insert
Delete
Create
2. You can ___ to a network using sockets.
Read
Write
Read/Write
None of these
3. If a class needs to handle events generated by button then which of the following interface a class
needs to implement?
ComponentListener
KeyListener
MouseListener
ActionListener
4. Which of the following package needs to be import while handling files?
java.util
java.io
java.awt
javax.swing
remaining not remembered but were easy

Share your paper of CS506 Also below πŸ‘‡ in comments with us and help others.

1. Write java code to make a GUI. It will contain a textfield and a button. when the button is clicked it should display the text from textfield on GUI. the text will be displayed using JOptionPane.showMessageDialog() method.
2. Write java code and Make two classes Course and Test class. In course class, define two variables : courseID and courseTitle. and a parameterized constructor to initialize variables. course class will also have a display method which will display its initialized variables. The test class will contain main method. In main method, create a new object of course class and call its display method.
3. Identify errors in the following code, also give reasons
Animals() is an abstract class.
Living() is an abstract method.
Birds() is a derived/subclass.
public class Behaviour{
public static void main(String[] args)
{
Animals a=null;
Animals al=new Animals();
a=new Birds();
a.living();
}
}
4. Write code to override paintcomponent() method and draw unfilled equilateral triangle and orange oval over it.
5. If you have ResultSet rs object. Then write code to get the maximum column width of the 2nd column.

Shared by: Anny

πŸ‘‰ Recommended mid term papers: CS401 Current paper , CS610 current paper , CS602 current paper , CS504 current paper , MCM301 current paper 2018 , CS502 current paper 2018

Share your paper of CS506 Also below πŸ‘‡ in comments with us and help others.

Author

Anam Afzal

Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.
SHARE THIS POST