Technology Questions


What is Technology Interview?

When you are being interviewed for an IT job, you will be focused on specific technical questions, about your educational skills, certifications, languages and tools you have expertise in addition to standard interview questions. IT/technical interviews are typically aimed at assessing the knowledge, skills and abilities that are relevant to the performance of the job. Your primary step for interview preparation should be to review the sample interview questions thoroughly. The internet provides a host of possible sample questions that might be asked in IT interviews.


Technical Interview questions is a wide list of topics like algorithms, Application/ UI Design, Data mining, Database, Distributed Computing, Operating systems, Programming languages, Networking, System Design, Hash tables, Android, Bit Manipulation, Coding, Computer architecture, Data structures, Debugging, Front end web development, Graphics, Object Oriented design, System administration, Testing, Trees and graphs, Security, Dynamic Programming and more.


We have a large database of questions in 'Technology' frequently asked in most of the interviews for your practice.


Q:

How to use HTTP Headers inside PHP? Write the statement through which it can be added?

Answer

HTTP headers can be used in PHP by redirection which is written as:


<?header('Location: https://www.php.net')?>


The headers can be added to HTTP response in PHP using the header(). The response headers are sent before any actual response being sent. The HTTP headers have to be sent before taking the output of any data. The statement above gets included at the top of the script.


 

Report Error

View answer Workspace Report Error Discuss

Subject: PHP - Technology

1 17749
Q:

What is the default return type of a function ?

A) int B) void
C) float D) char
 
Answer & Explanation Answer: B) void

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++ - Technology

19 16402
Q:

A piece of icon or image on a web page associated with another webpage is called

A) url B) plugin
C) hyperlink D) none of the mentioned
 
Answer & Explanation Answer: C) hyperlink

Explanation:

In computing, a hyperlink, or simply a web link, is an icon or reference to data that links to another file or object that the reader can follow by clicking. The text which contains hyperlinks is called as hypertext.

 

A_piece_of_icon_or_image_on_a_web_page_associated_with_another_webpage_is_called1563599363.jpg image

Report Error

View Answer Report Error Discuss

13 16008
Q:

Write an SQL Query find number of employees according to gender whose DOB is between 01/01/1960 to 31/12/1975.

Answer

SELECT COUNT(*), sex from Employees  WHERE  DOB BETWEEN ‘01/01/1960 ' AND ‘31/12/1975’  GROUP BY sex;

Report Error

View answer Workspace Report Error Discuss

Subject: SQL - Technology

15 15550
Q:

What is the output of this program ?

class main_arguments {
            public static void main(String [ ] args)
            {
                String [][] argument = new String[2][2];
                int x;
                argument[0] = args;
                x = argument[0].length;
                for (int y = 0; y < x; y++)
                    System.out.print(" " + argument[0][y]);           
            }
        }

A) 1 1 B) 1 0
C) 1 0 3 D) 1 2 3
 
Answer & Explanation Answer: D) 1 2 3

Explanation:

In argument[0] = args;, the reference variable arg[0], which was referring to an array with two elements, is reassigned to an array (args) with three elements.
Output:
$ javac main_arguments.java
$ java main_arguments
1 2 3

Report Error

View Answer Report Error Discuss

Filed Under: Java - Technology
Exam Prep: GATE

0 15426
Q:

What is the difference between stack and array?

Answer

Stack:


 - Stack is a ordered collection of items


 - Stack is a dynamic object whose size is constantly changing as items are pushed and popped .


 - Stack may contain different data types


Array:


- Array is an ordered collection of items


- Array is a static object i.e. no of item is fixed and is assigned by the declaration of the array


- It contains same data types.

Report Error

View answer Workspace Report Error Discuss

Subject: C++ - Technology Exam Prep: GATE

24 15014
Q:

In tree construction which is the suitable efficient data structure?

A) Array B) Linked list
C) Stack D) Queue
 
Answer & Explanation Answer: B) Linked list

Explanation:

Linked list is the efficient datastructure in tree construction

Report Error

View Answer Report Error Discuss

Filed Under: C++ - Technology

5 14931
Q:

What is the role of the JIT compiler in .NET Framework?

Answer

The JIT compiler is an important element of CLR, which loads MSIL on target machines for execution. The MSIL is stored in .NET assemblies after the developer has compiled the code written in any .NET-compliant programming language, such as Visual Basic and C#.

JIT compiler translates the MSIL code of an assembly and uses the CPU architecture of the target machine to execute a .NET application. It also stores the resulting native code so that it is accessible for subsequent calls. If a code executing on a target machine calls a non-native method, the JIT compiler converts the MSIL of that method into native code. JIT compiler also enforces type-safety in runtime environment of .NET Framework. It checks for the values that are passed to parameters of any method.

For example, the JIT compiler detects any event, if a user tries to assign a 32-bit value to a parameter that can only accept 8-bit value.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET - Technology

8 14651