Quiz Sagar...
x
OR
We'll never share your email with anyone else.

Facing Issue in Login Click Here

No Result Found

Total

0

Correct

0

InCorrect

0

Score

0%

QuizSagar

4 years ago
Like 232906
Questions 823
Contests 7

In a graph G, degree of each vertices is same then G will be ___

  • Complete Graph
  • Cycle Graph
  • Both
  • None of these
  • option2
Clear All
In a complete graph of vertices n degree of each vertices is n-1, but in cycle Graph degree of each vertices must be 2.
Loading...
QuizSagar Profile Image
QuizSagar

What will be output of following C program? #include void main(){ int a; if(a=-1) printf("Quiz "); if(a=1) printf("Sagar"); }

  • Sagar
  • Quiz
  • Quiz Sagar
  • Syntax Error
  • option3
Clear All
All none zero number are considered true. So a=-1 will is true.
Loading...
QuizSagar Profile Image
QuizSagar

What type of error will generate by following c program? #include <stdio.h> int main() { int *p=NULL; *p+=1; int a=5; printf("%d",p); return 0; }

  • Syntax Error
  • Segmentation Error
  • Missing Semicolon
  • Invalid Operand
  • option2
Clear All
We can't incriment NULL memory address.
Loading...
QuizSagar Profile Image
QuizSagar

Which variable cannot be dereferenced in C Language?

  • auto
  • register
  • static
  • extern
  • option2
Clear All
Variable declared with register storage class cannot be dereferenced because register variable stored at CPU register.
Loading...
QuizSagar Profile Image
QuizSagar

Which variables can be declared many time but initialized only once in C Language?

  • auto
  • extern
  • static & extern
  • auto & static
  • option3
Clear All
Loading...

Consider an array multiplier for multiplying two n bit numbers. If each gate in the circuit has a unit delay, the total delay of the multiplier is

  • θ(n²)
  • θ(logn)
  • θ(1)
  • θ(n)
  • option1
Clear All
Loading...

In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is

  • n/2
  • n
  • log n
  • log2n
  • option2
Clear All
Loading...

If θ=90 then sinθ + cosθ

  • 2
  • 0
  • 1
  • -1
  • option3
Clear All
sin90=1, cos90=0 sin90 + cos90 =1+0=1
Loading...
QuizSagar Profile Image
QuizSagar

Convert the following prefix expression into postfix expression * - + A B C D

  • A B C D + - *
  • A B C D * - +
  • A B + C - D *
  • A B + C D *
  • option3
Clear All
Loading...

Data transfer between the main memory and the CPU register takes place through two registers namely

  • general purpose register and MDR
  • MAR and MDR
  • MAR and Accumulator
  • accumulator and program counter
  • option2
Clear All
Loading...