Interview Questions

Q:

What are the ways in which attackers can infiltrate the system?

Answer

- Web servers can be infiltrated using the command shell by an attacker to read the HTML files that is getting transferred. 


- If the set-uid scripts are not proper and bad then the infiltration can happen by the attacker. 


- The processes are not given proper permissions so that the password can be changed by using the “passwd” command to change the password of the system.


- This also authenticates the user for accessing the system and the files on it containing the data. 


- The program that is used in the operating system doesn’t follow the principle of least privilege and lead to security issues.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2052
Q:

How to call argument constructor?

Answer

new ClassName( arg1, arg2, .... argN);


Ex:


Class sample {


   Sample(int a) {


   System.out.println("arg con a =" +a);


   }


}


class Demo {


    Public static void main( String[] args) {


     Sample s1= new Sample(23);


     Sample s2= new Sample(45);


    }


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2051
Q:

How to create a Delegate?

Answer

public delegate void Del<T>(T item);


Del<int> d1 = new Del<int>(Notify);

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2051
Q:

What is severity and priority of bug? Give some example.

Answer

Priority: concern with application from the business point of view. It answers  How quickly we need to fix the bug? Or How soon the bug should get fixed?


Severity: concern with functionality of application. It deals with the impact of the bug on the application.


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2044
Q:

A supply curve slopes upward because

A) an increase in price gives producers an incentive to supply a larger quantity. B) the quantity supplied of most goods and services increases over time.
C) an increase in input prices increases supply. D) as more is produced, total cost of production falls.
 
Answer & Explanation Answer: A) an increase in price gives producers an incentive to supply a larger quantity.

Explanation:

The supply curve slopes upward because for reflecting the higher price needed to cover the higher marginal cost of production. 

Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2043
Q:

APK full form in Android?

Answer

APK stands for Android Application Package.


 


Android Package (APK) is the package file format used by the Android operating system for distribution and installation of mobile apps and middleware.

Report Error

View answer Workspace Report Error Discuss

2 2042
Q:

How to create Directory on the HD?

Answer

To create directory on the HD we use mkDir() method:


boolean mkDir();


This method returns true if the directory is created on HD


This method returns false if the directory is already existing on HD

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2042
Q:

What is Shift() method in Javascript?

Answer

-The shift() method is similar as the pop() method but the difference is that Shift method works at the beginning of the array. 


-The shift() method take the first element off of the given array and returns it. The array on which is called is then altered.


For example


var myarray = ["apple ", "banana ", "mango "]; 


console.log(myarray.shift());


console.log(myarray);


we get the following console output:


apple


["banana ", "mango "];


 


When we call shift() on an empty array, it will return an undefined value.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2042