Smart Programmer Crew

Smart Programmer Crew

Professional Development

32 Qs

quiz-placeholder

Similar activities

Placa-Mãe

Placa-Mãe

Professional Development

35 Qs

word

word

Professional Development

27 Qs

week 7 sec+ quiz

week 7 sec+ quiz

12th Grade - Professional Development

27 Qs

Java Chapter 4 Review Questions

Java Chapter 4 Review Questions

Professional Development

28 Qs

HTML and CSS

HTML and CSS

University - Professional Development

36 Qs

Year 7 Computer Science Baseline

Year 7 Computer Science Baseline

KG - Professional Development

31 Qs

Security Plus Ports

Security Plus Ports

Professional Development

28 Qs

Scripting Languauges

Scripting Languauges

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?