3i Infotech Placement: Sample Questions 1024 - 1025 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 1024

Question

MCQ▾

Which of the following is not correct about the “TABLE” datatype?

Choices

Choice (4)

a.

Simulates a One-dimensional array of unlimited size

b.

Can contain any no of columns

c.

Column datatype of any Scalar type

d.

All of the above

Answer

b.

Explanation

  • TABLE Data type is suitable for column-oriented or tabular data and is often stored as columns in a text file or in a spreadsheet.
  • Consist of rows and column-oriented variable.
  • TABLE combines different data types and size with the one restriction- all variables must have same number of rows.
  • TABLE datatype can contain any no of columns.
  • Represent a single entity to track within our system.

Designing Tables

  • Use name for table, column and cluster.
  • Table names, columns names can contain maximum of 30 characters and they should start with an alphabet.
  • The use of singular and plural forms of table name and columns.
  • Select the datatype for each column.
  • Arrange column that can contain NULL values in the last, to save storage space.

Question 1025

Question

MCQ▾

Which of the following API is used to hide a window?

Choices

Choice (4)

a.

Show Window

b.

Set Window Placement

c.

Move Window

d.

Enable Window

Answer

a.

Explanation

  • ShowWindow shows a window in a certain manner.
  • Example, the function can minimize, maximize, or restore a given window.
  • The function returns if the window had been hidden before the call, or a non-zero value if it had been visible.

Syntax

BOOL WINAPI ShowWindow (

_In_ HWND hWnd,

_In_ int nCmdShow

) ;

Parameters:

  • hwnd:
    • type: HWND
    • A handle to the window.
  • nCmdShow [int]
    • Type: int
    • Controls how the window is to be shown.
    • This parameter is ignored the first time

Developed by: