SEBI Grade A IT Phase 1 Paper 2 Memory Based Paper

FaithfulCaricature avatar
FaithfulCaricature
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

What is the purpose of a constructor in C++?

To initialize an object of a class

What is a common characteristic of tuples?

Immutable

What is the primary function of a destructor in C++?

To free memory after object deletion

Which type of variables are defined outside all functions in C++?

<p>Global variables</p> Signup and view all the answers

What will be the output of the C++ code provided?

<p>Compile time error</p> Signup and view all the answers

In Python, what error does the code snippet about 'Str' most likely result in?

<p>Type error: str does not support the item assignment</p> Signup and view all the answers

In Data Warehousing, what does 'Granularity' refer to?

<p>The level of detail of your data within the data structure</p> Signup and view all the answers

Which command is used to get the last executed process ID in Unix?

<p>echo &quot;$!&quot;</p> Signup and view all the answers

What is the purpose of Cluster indexing in DBMS?

<p>To organize data in a specific order based on clustering key</p> Signup and view all the answers

What is one characteristic of a Tuple in databases?

<p>It follows a specific order</p> Signup and view all the answers

What is the purpose of the code snippet provided?

<p>To find the greatest common factor of two numbers</p> Signup and view all the answers

In the given C++ code, what is the output of 'printf("%ld", c-b);' statement?

<p>600</p> Signup and view all the answers

Which command in the provided options tells you which bash shell you have to use?

<p>which bash</p> Signup and view all the answers

In Dijkstra’s single source shortest-path algorithm, what is the correct order in which nodes get included into the set of vertices for which the shortest path distances are finalized?

<p>P, Q, R, U, S, T</p> Signup and view all the answers

Black Box Testing is sometimes referred to as:

<p>Behavioral testing</p> Signup and view all the answers

Which type of testing involves examining the structure of the code being tested?

<p>'White Box Testing'</p> Signup and view all the answers

More Quizzes Like This

Use Quizgecko on...
Browser
Browser