Software Architect Questions


Q:

Explain the process of creating a menu using the MainMenu component

Answer

MainMenu component is a component that allows the display of Menus at runtime on a form.


Process of creating Menu using MainMenu Component:


a. Add MainMenu component on Windows Form.


b. Menu designer allows deciding the structure of the main menu by selecting the Type Here area and adding the Menu Items to be displayed on the menu.


c. Add functionality to Menu Items as required

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2791
Q:

Undefined reference to 'pthread_create'

How to Fix this error?

Answer

This is a common error while compiling C program in Linux. This error occurs when you are using pthread_create function to create threads in your programs.


To fix this problem ensure following points:
Include header file pthread.h in your program.
Add –lpthread linker flag with compilation command.
1- Include Header file
#include <stdio.h>
#include <pthread.h>
...
...
2- Compile command
gcc main.c -o main -lpthread

Report Error

View answer Workspace Report Error Discuss

0 2775
Q:

Cache events are processed when ever the Postback events occurs

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Cache events are processed only when the Postback events occur

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2758
Q:

What is Interpreter in Java?

Answer

  • An Interpreter is a program that reads in as input a source program, along with data for the program, and translates the source program step by step.


 


The Java interpreter decodes each lines bytecode and runs a series of machine instructions for that bytecode. The JVM takes the byte code and generates machine code. The byte code is compiled to machine code, and the machine code is executed.

Report Error

View answer Workspace Report Error Discuss

7 2747
Q:

The difference between two numbers is 3355. When the larger number is divided by the smaller one, the quotient is 6 and the remainder is 15. The smaller number and larger number respectively ?

A) 546, 3901 B) 415, 3770
C) 668, 4023 D) 404, 3759
 
Answer & Explanation Answer: C) 668, 4023

Explanation:

Let the smaller number be k.
Then, larger number = (3355 + k)
Therefore 3355 + k = (6k + 15)
‹=› 5k = 3340
‹=› k = 668.

Therefore, the smaller number k = 668 and now the larger number = 3355+668 = 4023.

Report Error

View Answer Report Error Discuss

4 2743
Q:

Which online security campaign has been launched by Google India to safeguard internet users?

A) #SecurityCheckKiya B) #InternetSafetyKiya
C) #OnlineSecurityKiya D) #SecureInternetKiya
 
Answer & Explanation Answer: A) #SecurityCheckKiya

Explanation:

Google has launched new online security campaign #SecurityCheckKiya in India to promote security awareness among general public. The purpose of the campaign is to protect young and first-time web users from account hijacking, safeguard Android devices from malicious apps and secure all their personal data if they lose their device.

Report Error

View Answer Report Error Discuss

2 2741
Q:

A small text file on the client machine either in the client’s file system or memory of client browser session is called

A) View State B) Cookies
C) QueryString D) None
 
Answer & Explanation Answer: B) Cookies

Explanation:

A cookie is a small text file on the client machine either in the client’s file system or memory of client browser session.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

0 2718
Q:

Explain what is posting key and what does it control ?

Answer

In order to determine the transaction type which is entered in the line item, a two digit numerical is used known as 'Posting Key'
Posting key determines:
a) Account Types
b) Types of posting. Debit or Credit
c) Field status of transaction

Report Error

View answer Workspace Report Error Discuss

6 2717