Tag: programming languages

Questions Related to programming languages

  1. The code will output the following: Masami 10 11 12 13

  2. The code will output the following: 10 Masami 10 11 12 13

  3. The code will output the following: 10 Masami 11 12 13 Niklas

  4. The code will output the following: Masami 10 11 12 13 Niklas


Correct Option: A
  1. The code will output the following: 11 12 13 14 15 16 17 18 19

  2. The code will output the following: 10 11 12 13 14 16 18 20 22

  3. The code will output the following: 10 11 12 13 14 16 18 20

  4. The code will output the following: 10 11 12 13 14 15 16 17 18 19 20


Correct Option: B
  1. The code will output the following:123

  2. The code will output the following: 3

  3. The code will output the following:23

  4. The code will output the following: 321


Correct Option: A
  1. $dbh = DBI::connect("dbi:mysql:myPhoneBook");

  2. $dbh = DBD:->connect("dbi::mysql::myPhoneBook");

  3. $dbh = DBD::connect("mysql:dbi:myPhoneBook");

  4. $dbh = DBI->connect("dbi:mysql:myPhoneBook");


Correct Option: D
  1. Page length of a particular output file

  2. The input end-of-line character

  3. The return code returned by a command called by the system function.

  4. The error code generated by a system library routine.


Correct Option: C