Technical Questions

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 2022
Q:

What is Autosys?

Answer

AutoSys is an automated job control system for scheduling, monitoring, and reporting. These jobs can reside on any AutoSys-configured machine that is attached to a network.


 


However, in real business, you need to fire jobs not just based on scheduled time, but also based on events (like an arrival of a file), and, based on the success or failure of other jobs. Autosys is a total job scheduling solution that allows you to define these events, dependencies, time schedules, alerts, etc, making it a complete data center automation tool.

Report Error

View answer Workspace Report Error Discuss

5 2074
Q:

Which of the following is not a static testing technique?

A) Inspections B) Data flow analysis
C) Error guessing D) Walkthrough
 
Answer & Explanation Answer: C) Error guessing

Explanation:

Static Testing, a software testing technique in which the software is tested without executing the code. This Techniques provide a powerful way to improve the quality and productivity of software development by assisting engineers to recognize and fix their own defects early in the software development process.

 

It has two parts as listed below:

Review - Typically used to find and eliminate errors or ambiguities in documents such as requirements, design, test cases, etc.

Static analysis - The code written by developers are analysed (usually by tools) for structural defects that may lead to defects.

 

In this software is tested without executing the code by doing Review, Walk Through, Inspection or Analysis etc.

 

Hence, Error guessing is not a static software testing technique.

Report Error

View Answer Report Error Discuss

6 18138
Q:

Which of the following is not part of performance testing?

A) simulating many users B) measuring response times
C) generating many transactions D) recovery testing
 
Answer & Explanation Answer: D) recovery testing

Explanation:

In software engineering, performance testing is in general, a testing practice performed to determine how a system performs in terms of responsiveness and stability under a particular workload.

Report Error

View Answer Report Error Discuss

10 24697
Q:

Which physical connection is the fastest?

A) Coaxial cable B) Infrared
C) Microwave D) Fiber-optic
 
Answer & Explanation Answer: D) Fiber-optic

Explanation:

Fiber-optic physical or wired connection is the fastest communication connection.

Report Error

View Answer Report Error Discuss

4 4762
Q:

How many bits are in a MAC address?

A) 64 B) 48
C) 32 D) 16
 
Answer & Explanation Answer: B) 48

Explanation:

MAC - Media Access Control, address is a globally unique identifier assigned to network devices, and therefore it is often referred to as hardware or physical address.

 

MAC addresses are 6-byte (48-bits) in length, and are written in MM:MM:MM:SS:SS:SS format.

Report Error

View Answer Report Error Discuss

0 1744
Q:

Configuration management is not concerned with

A) maintaining versions of software B) controlling documentation changes
C) controlling changes to the source code D) choice of hardware configuration for an application
 
Answer & Explanation Answer: D) choice of hardware configuration for an application

Explanation:

Configuration management is not concerned with the choice of the hardware configuration for an application.

 

Configuration management is concerned with the development of procedures and standards for cost-effective managing and controlling charges in an evolving s/w system.

It includes

1)software versions maintenance

2)controlling changes in documentation

3)controlling changes to the source code

4) management activities

Report Error

View Answer Report Error Discuss

1 3102
Q:

Which of the following describes a relational database?

A) It retrieves data related to its queries B) It provides a relationship between floats
C) It provides a relationship between integers D) It consists of separate tables or related data
 
Answer & Explanation Answer: D) It consists of separate tables or related data

Explanation:

A relational database is a digital database based on the relational model of data, a database structured to recognize relations between stored items of information. A software system used to maintain relational databases is a relational database management system.

 

Computer database in which all data is stored in Relations which (to the user) are tables with rows and columns. Each table is composed of records (called Tuples) and each record is identified by a field (attribute) containing a unique value. Every table shares at least one field with another table in 'one to one,' 'one to many,' or 'many to many' relationships. These relationships allow the database user to access the data in almost an unlimited number of ways, and to combine the tables as building blocks to create complex and very large databases.

Report Error

View Answer Report Error Discuss

4 2804