Questions Related to technology

Multiple choice technology security
  1. delete ptr2; (within if loop) AND delete ptr1;

  2. delete ptr1; AND delete ptr2; (outside if loop )

  3. delete ptr2; (within if loop)

  4. delete ptr2; (outside if loop )

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology security
  1. Program works when there is only 1 argument with program

  2. Program works when there are 3 arguments with program

  3. Program works when there are 4 arguments with program

  4. Program never executes successfully

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology security
  1. A run-time error is encountered and the program aborts

  2. unsigned int variables cannot store the sign (+ or -) of the number. The sign is discarded and only the number is stored in i

  3. A large positive number will be stored in i

  4. Unsigned int variables cannot store signed numbers. Hence in this program i will contain garbage values.

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology security
  1. XSS

  2. Arc Injection

  3. Buffer Overflow

  4. Arc Injection AND Buffer Overflow

Reveal answer Fill a bubble to check yourself
D Correct answer