0

programming languages Online Quiz - 127

Description: programming languages Online Quiz - 127
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Output of: vector (1 2 2 3 4 4)

  1. #6(1 2 2 3 4)

  2. #6(1 2 3 4)

  3. #6(1 2 2 3 4 4)

  4. #4(1 2 3 4)


Correct Option: A

(string-set! "DrScheme" 2 4) what will be the output?

  1. DrScheme

  2. Sh

  3. Error : string-set! accepts 1 argument, given 3

  4. Error: string-set!: expects type as 1st argument, given "DrScheme"


Correct Option: D

Which of the following is true with respect to comma?

  1. It has got last priority with Left to right grouping order.

  2. It has got last priority with right to left grouping order.

  3. It has got second last priority with right to left grouping order.

  4. None of the above.


Correct Option: A

Which of the following is true with respect to Relational Operators?

  1. Order of precedence is after Bitwise Operators

  2. Order of precedence is prior to Type casting operators

  3. The order of precedence is prior to Shift operators

  4. Order of precedence is next to Shift Operators


Correct Option: D

Which of the following has the highest priority? 1. Bitwise XOR 2. Bitwise OR 3. Logical OR 4. Logical AND

  1. Bitwise XOR

  2. Bitwise OR

  3. Logical OR

  4. Logical AND


Correct Option: A
  1. John Backus

  2. Andres Hejlsberg

  3. Grace Hopper

  4. Brendan Eich


Correct Option: C

Who is the inventor of Delphi

  1. Anders Hejlsberg

  2. James Gosling

  3. Gurido Van Rossum

  4. Alan Cooper


Correct Option: A

Who is the inventor of Visual Basic

  1. Alan Cooper

  2. John Kemeny

  3. Bjarne Stroutsup

  4. Larry wall


Correct Option: A

Who is the inventor of BCPL?

  1. Brendan Eich

  2. Ken Thompson

  3. Richard Cooper

  4. Martin Richards


Correct Option: D

Who is the inventor of Java Script

  1. Grace Hooper

  2. Brendan Eich

  3. Ken Thompson

  4. Yukhiro Matsumoto


Correct Option: B

Who is the inventor of Perl

  1. Larry Wall

  2. Yukhiro Matsumoto

  3. Guido Van Rossom

  4. Dennis Ritchie


Correct Option: A

Who is the inventor of Ruby

  1. John Backus

  2. Larry wall

  3. Rasmus Leedorf

  4. Yukhiro Matsumoto


Correct Option: D

Who is the inventor of c#

  1. James Gosling

  2. Anders Hejlsberg

  3. Alan cooper

  4. John Backus


Correct Option: B

Who is the inventor of Java

  1. Bjarne Stroutsup

  2. Larry Wall

  3. James Gosling

  4. Dennis Ritchie


Correct Option: C

what is the output? main() { int x=20,y=35; x=y++ + x++; y= ++y + ++x; printf(“%d \t %dn”,x,y); }

  1. 56 93

  2. 57 94

  3. 58 95

  4. 60 98


Correct Option: B

3.What is the output?main() { int x=5; printf(“%d,%d,%dn”,x,x< <2,x>>2); }

  1. 5,1,20

  2. 5,10,20

  3. 5,20,1

  4. 5,15,25


Correct Option: B

4.What will be printed as the result of the operation below: main() { char *ptr = ” Cisco Systems”; *ptr++; ptr++; printf(“%sn”,ptr); }

  1. Cisco System

  2. isco Systems

  3. Cisco Systems

  4. Cisco


Correct Option: B

5.What is the output? main() { char s1[]=“TCS”; char s2[]= “systems”; printf(“%s”,s1); }

  1. 0

  2. null

  3. systems

  4. TCS


Correct Option: D

What is a thin-client application?

  1. A browser that uses a plug-in to process user data.

  2. A distributed application where the client program does not process data, but instead passes data for processing to an enterprise bean running on an application server

  3. An application that cannot be stopped by firewall

  4. An application compiled with the thin option of the javac command


Correct Option: B
- Hide questions