Smart Programmer Crew

Smart Programmer Crew

Professional Development

32 Qs

quiz-placeholder

Similar activities

Flapo SRE Quizzzz

Flapo SRE Quizzzz

Professional Development

27 Qs

Computer Parts

Computer Parts

KG - Professional Development

27 Qs

Earth explorer

Earth explorer

KG - Professional Development

27 Qs

Knowing Linux CLI commands

Knowing Linux CLI commands

Professional Development

28 Qs

Подготовка к контрольной работе

Подготовка к контрольной работе

Professional Development

36 Qs

HTML Q1

HTML Q1

Professional Development

27 Qs

Calibración en Python

Calibración en Python

University - Professional Development

27 Qs

CS-amani-2019

CS-amani-2019

Professional Development

27 Qs

Smart Programmer Crew

Smart Programmer Crew

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Rohit Agarwal

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

void main()

{

int k = 0;

for (k)

printf("Hello");

}

Compile time error

hello

Nothing

Varies

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the linked list implementation of a stack. Which of the following node is considered as Top of the stack?

 First node
Last node
Any node
Middle node

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Which of the following statement(s) about stack data structure is/are NOT correct?

Stack data structure can be implemented using linked list
New node can only be added at the top of the stack
Stack is the FIFO data structure
The last node at the bottom of the stack has a NULL link

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The type of expression in which operator succeeds its operands is?

Infix Expression
 pre fix Expression
postfix Expression
None

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An expression contains relational, assignment and arithmetic operators. If parenthesis are not specified, the order of evaluation of the operators would be:

assignment, arithmetic, relational

relational, assignment, arithmetic

assignment, relational, arithmetic

arithmetic, relational, assignment

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Given two literals 0x001B and 033. What are these equal to?

21 and 23

27 and 33

33 and 33

27 and 27

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the outpur of the following code segment (assuming sizeof(int) returns 4)?


int i=0x1 << sizeof(int) * 8-1;

printf("\n%x", i);

i = i >> sizeof(int) * 8-1;

printf("%d", i);

0x8000000-1

80000000-1

-1 0x0000000

-1 0000000

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?