3i Infotech Papers: Sample Questions 1043 - 1045 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1043

» Operating System » Unix

Short Answer Question▾

Write in Short

Explain is command in Unix.

Explanation

  • The is command lists all files in the directory that match the name.

  • If name is left blank, it will list all of the files in the directory.

  • It can also list information about the FILEs.

Syntax:

Ls [options] [names]

Example:

Ls -la

Question number: 1044

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is a scope resolution operator?

Explanation

Define scope resolution operator.

Define Scope Resolution Operator.

Define scope resolution operator.

  • The scope resolution operator “: : ” is used to qualify hidden names.

  • We can use the unary scope operator if a namespace scope or global scope name is hidden by an explicit declaration of the same name in a block or class.

Example:

  1. int count=0;
  2. int main(void)
  3. {
  4.     int count=0;
  5.     :: count =1;
  6.     count =2;
  7.     return 0;
  8. }

Question number: 1045

» Basic CS » Algorithms

MCQ▾

Question

The mass number of a nucleus is

Choices

Choice (4) Response

a.

Always less than its atomic number

b.

Always more than its atomic number

c.

Sometimes more than and sometimes equal to its atomic number

d.

All of the above

Answer

c.

Explanation

  • The mass number of a nucleus is sometime more than and sometimes equal to its atomic number.

  • Mass number protons neutrons

  • Atomic number is number of protons.

  • So, mass number of a nucleus is sometimes more than and sometime equal its atomic number (in case of hydrogen).