0

programming languages Online Quiz - 299

Description: programming languages Online Quiz - 299
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Which of the following are the characteristics of wizard page

  1. overlapped

  2. style

  3. enabled

  4. border


Correct Option: B,D

Dialog box cannot be minimized, maximized, or restored. A dialog box does not have any other system button but Close.

  1. True

  2. False


Correct Option: A

a)A CDocument is owned by a CDocTemplate. b)The CWinApp object owns all frame windows in the application. c)The CFrameWnd is responsible for creating windows in the client area of the frame.

  1. b only

  2. a and b

  3. b and c

  4. all the above


Correct Option: D

The CControlBar class gives standard implementation for:

  1. Resizing te control bar

  2. Aligning the control bar to the top, bottom, or either side of the frame.

  3. Supporting the implementation of derived classes.

  4. Allocating control item arrays.


Correct Option: B,C,D

The permitted ways to destroy a Windows object are

  1. CWnd Destroy member function

  2. Explicitly deleting with the delete operator.

  3. Manually closing the windows

  4. Calling CWnd::DestroyWindow or the Windows API DestroyWindow.


Correct Option: B,D

The application that uses the regular DLL does not have to use MFC and does not have to be a Visual C++ application.

  1. True

  2. False


Correct Option: A

Which substitutes two strings for the format characters "%1" and "%2" in a string contained in the string table

  1. AfxFormatSubString

  2. AfxFormatString

  3. AfxFormatString1

  4. AfxFormatString2


Correct Option: D

In which Year Java Swing was released?

  1. 1995

  2. 1996

  3. 1997

  4. 1998


Correct Option: C

What is SWT?

  1. Standard window toolkit

  2. Standard widget toolkit

  3. Standard window tool

  4. Standard widget tool


Correct Option: B

What is an event handler ?

  1. Response to a specific event.

  2. Events that handle response

  3. Handle screen event.

  4. Handle specific function.


Correct Option: A

Which containers use a FlowLayout as their default layout?

  1. Panel and Applet

  2. Panel and Frame

  3. Frame and Applet

  4. Panel and Jframe


Correct Option: A

What method is used to specify a container's layout?

  1. SetLayout

  2. SetBoundries

  3. SetBorder

  4. SetLayouts


Correct Option: A

Which of the following is NOT a value type?

  1. Struct

  2. Delegate

  3. string

  4. Enumeration


Correct Option: C

A boolean in C# is

  1. BOOL

  2. bool

  3. Boolean

  4. boolean


Correct Option: A

True or False. Is Foo.Print() a valid statement? Given a class Foo and it has a function public void Print (); Foo f = new Foo (); Foo.Print ();

  1. True

  2. False


Correct Option: B

True or False. Like in C++, using exception does carry some performance penalty

  1. True

  2. False


Correct Option: B

Which of the following is jagged array creation?

  1. string [,,] aMatrix;

  2. string [][][] aMatrix;

  3. int [][]aInt= new int[3][];

  4. None of the above.


Correct Option: C

1) JavaScript is ...

  1. same as Java

  2. kind of like Java

  3. different than Java

  4. written part of Java


Correct Option: C

2) JavaScript is ...

  1. subjective

  2. objective

  3. evil

  4. object based


Correct Option: D

3) To comment out a line in JavaScript ...

  1. Precede it with two forward slashes, i.e. '//'

  2. Precede it with an asterisk and a forward slash, i.e. '*/'

  3. Precede it with an asterisk, i.e. '*'

  4. Precede it with a forward slash and an asterisk, i.e. '/*'


Correct Option: A
- Hide questions