Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

search topic

Showing posts with label GRAPHICAL USER INTERFACE - GUI Papers. Show all posts
Showing posts with label GRAPHICAL USER INTERFACE - GUI Papers. Show all posts

Monday, August 11, 2008

Java Graphics User Interface Designer - Interview Questions 18 IMP interview questions

Java GUI designer interview questions

1.

What advantage do Java’s layout managers provide over traditional windowing systems? - Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java’s layout managers aren’t tied to absolute sizing and positioning, they are able to accomodate platform-specific differences among windowing systems.
2.

What is the difference between the paint() and repaint() methods? - The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.

3.

How can the Checkbox class be used to create a radio button? - By associating Checkbox objects with a CheckboxGroup
4.

What is the difference between a Choice and a List? - A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices. Only one item may be selected from a Choice. A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.
5.

What interface is extended by AWT event listeners? - All AWT event listeners extend the java.util.EventListener interface.
6.

What is a layout manager? - A layout manager is an object that is used to organize components in a container
7.

Which Component subclass is used for drawing and painting? - Canvas
8.

What are the problems faced by Java programmers who dont use layout managers? - Without layout managers, Java programmers are faced with determining how their GUI will be displayed across multiple windowing systems and finding a common sizing and positioning that will work within the constraints imposed by each windowing system
9.

What is the difference between a Scrollbar and a ScrollPane? (Swing) - A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling.

See Latest Java Language Graphic User Interface Interview Questions For Animation Companies - Mauj, Maya, Land Marvel, Compact Disc India, Illion, Illuminated, Imagi, Houston, Pixar 3d Studio, Animantz, PNC Pritish Nandy Communications, Animation 5, i2eye animation studio, Dreamworks Animation Interview Questions, Thomson, Arena Multimedia Multiple Choice Questions with answers key, Aptech Academy Java Placement Interview Questions, Prana 3d studios detailed graphics GUI Questions with detailed solutions. Keep Watching Previouspapers.blogspot.com for more free stuff..

Tuesday, August 5, 2008

C++ Technical Questions GameDev Interview - 16

1.Explain which of the following declarations will compile and what will be constant - a pointer or the value pointed at:
const char *
char const *
char * const

Note: Ask the candidate whether the first declaration is pointing to a string or a single character. Both explanations are correct, but if he says that it?s a single character pointer, ask why a whole string is initialized as char* in C++. If he says this is a string declaration, ask him to declare a pointer to a single character. Competent candidates should not have problems pointing out why const char* can be both a character and a string declaration, incompetent ones will come up with invalid reasons.

2.You?re given a simple code for the class BankCustomer. Write the following functions:
Copy constructor
= operator overload
== operator overload
+ operator overload (customers? balances should be added up, as an example of joint account between husband and wife)

Note:Anyone confusing assignment and equality operators should be dismissed from the interview. The applicant might make a mistake of passing by value, not by reference. The candidate might also want to return a pointer, not a new object, from the addition operator. Slightly hint that you?d like the value to be changed outside the function, too, in the first case. Ask him whether the statement customer3 = customer1 + customer2 would work in the second case.

3.What problems might the following macro bring to the application?
#define sq(x) x*x

4.Consider the following struct declarations:
struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } }; What constructors will be called when an instance of F is initialized?

Produce the program output when this happens.

5. Anything wrong with this code?
T *p = new T[10];
delete p;
Note: Incorrect replies: ?No, everything is correct?, ?Only the first element of the array will be deleted?, ?The entire array will be deleted, but only the first element destructor will be called?.

6.Anything wrong with this code?
T *p = 0;
delete p;
Note: Typical wrong answer: Yes, the program will crash in an attempt to delete a null pointer. The candidate does not understand pointers. A very smart candidate will ask whether delete is overloaded for the class T.

7.Explain virtual inheritance. Draw the diagram explaining the initialization of the base class when virtual inheritance is used.
Note: Typical mistake for applicant is to draw an inheritance diagram, where a single base class is inherited with virtual methods. Explain to the candidate that this is not virtual inheritance. Ask them for the classic definition of virtual inheritance. Such question might be too complex for a beginning or even intermediate developer, but any applicant with advanced C++ experience should be somewhat familiar with the concept, even though he?ll probably say he?d avoid using it in a real project. Moreover, even the experienced developers, who know about virtual inheritance, cannot coherently explain the initialization process. If you find a candidate that knows both the concept and the initialization process well, he?s hired.

8.What?s potentially wrong with the following code?
long value;
//some stuff
value &= 0xFFFF;

Note: Hint to the candidate about the base platform they?re developing for. If the person still doesn?t find anything wrong with the code, they are not experienced with C++.

9.What does the following code do and why would anyone write something like that?
void send (int *to, int * from, int count)
{
int n = (count + 7) / 8;
switch ( count % 8)
{
case 0: do { *to++ = *from++;
case 7: *to++ = *from++;
case 6: *to++ = *from++;
case 5: *to++ = *from++;
case 4: *to++ = *from++;
case 3: *to++ = *from++;
case 2: *to++ = *from++;
case 1: *to++ = *from++;
} while ( --n > 0 );
}
}

10.In the H file you see the following declaration:
class Foo {
void Bar( void ) const ;
};

Tell me all you know about the Bar() function.

There are more game development related questions - graphics developement related and animation related questions for Java, Net, asp, javascript, etc. Search for more such questions using the search box. Good luck for your interview.. Keep watching PreviousPapers.blogspot.com for more recent / latest interview questions and candidate experiences posted / updated regularly here. Email me your more Game development and other questions & experiences here

Friday, May 30, 2008

GRAPHICAL USER INTERFACE - GUI Paper 1 interview-questions

Download FREE Computer Science Engineering (CSE Engg. Branch) Previous 5 Years solved Regular and Reappear Question Papers B.tech PTU Semester 8th (2007, 2006, 2005, 2004, 2003) and related Placement Technical Interview Questions for subject GRAPHICAL USER INTERFACE - GUI

GRAPHICAL USER INTERFACE CS 432 B. Tech 8th Sem May 2k5

Max Marks 60

Note: Section A is compulsory. Attempt any Four questions from Section B and two from Section C

Section A Marks 2 each

1.

  1. What do you mean by message driven programming?
  2. What is GDI?
  3. Explain Hungarian Notation.
  4. What are the various parameters of create window () function?
  5. How to attach a menu to window?
  6. What is html link? What methods are used with it?
  7. What is the class hierarchy of ClisBox?
  8. When do you define variables in the class header file and when do you define variables in the class implementation file?
  9. Write a code fragment that is used to create and destroy modeless dialog box.
  10. Explain the command used to create callback.

Section B Marks 5 each

2. Write a code which is required for an application to start with a maximized window and a screen caption “Selection Process”

3. What are the types of image resources? Explain>

4. Describe in detail the processing performed in the following code:

Int j, count;
Count = pA→Get size ();
for (j=0;j{
cobject*P = (cobject *) (pA→Get At(j));
if (P)
{
Delete P;
}

}

pA→Remove All();

5. What are the types of bound controls? Explain.

6. What are memory management command? Explain with suitable example code.

Section C Marks 10 each

7. Describe the GDI processes you would use in a program to print 3 consecutive pages in a laser printer, each page displaying a square. The squatter has:

  1. The top 4 cm from the top of the page.
  2. The left side 2 cm from the left edge of the page.
  3. Side length 3*n cm (where n=1 on page 1, n= 2 on page 2, n=3 on page 3).

8. (a) What is “mutex” object? Describe how “mutex” objects may be used to prevent multiple instances of the same program from executing.
(b) What is DIB? How will you create DIB?

9. (a) Explain with the help of code example how to read and write different data types to the clipboard.

(b) Describe in detail with code fragments regarding cursor shapes and carets

Tuesday, May 13, 2008

Java Graphics User Interface Designer - Interview Questions 18

  1. What advantage do Java’s layout managers provide over traditional windowing systems? - Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java’s layout managers aren’t tied to absolute sizing and positioning, they are able to accomodate platform-specific differences among windowing systems.

  2. What is the difference between the paint() and repaint() methods? - The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.

  3. How can the Checkbox class be used to create a radio button? - By associating Checkbox objects with a CheckboxGroup

  4. What is the difference between a Choice and a List? - A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices. Only one item may be selected from a Choice. A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.

  5. What interface is extended by AWT event listeners? - All AWT event listeners extend the java.util.EventListener interface.

  6. What is a layout manager? - A layout manager is an object that is used to organize components in a container

  7. Which Component subclass is used for drawing and painting? - Canvas

  8. What are the problems faced by Java programmers who dont use layout managers? - Without layout managers, Java programmers are faced with determining how their GUI will be displayed across multiple windowing systems and finding a common sizing and positioning that will work within the constraints imposed by each windowing system

  9. What is the difference between a Scrollbar and a ScrollPane? (Swing) - A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling.

See Latest Java Language Graphic User Interface Interview Questions For Animation Companies - Mauj, Maya, Land Marvel, Compact Disc India, Illion, Illuminated, Imagi, Houston, Pixar 3d Studio, Animantz, PNC Pritish Nandy Communications, Animation 5, i2eye animation studio, Dreamworks Animation Interview Questions, Thomson, Arena Multimedia Multiple Choice Questions with answers key, Aptech Academy Java Placement Interview Questions, Prana 3d studios detailed graphics GUI Questions with detailed solutions. Keep Watching Previouspapers.blogspot.com for more free stuff..