Seminar1_EDA25

Seminar1_EDA25

University

10 Qs

quiz-placeholder

Similar activities

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

STM10163_T1:INTRODUCTION TO DATABASE CONCEPT

STM10163_T1:INTRODUCTION TO DATABASE CONCEPT

University

10 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

University

10 Qs

Teste 1 - Inteligência Artificial

Teste 1 - Inteligência Artificial

University

10 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

Seminar1_EDA25

Seminar1_EDA25

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

ARNAU BLANCO

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in C?

int a = 5;

a = 5;

integer a = 5;

declare int a;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of value does `int a = 5;` store by default in C?

An unsigned integer

A signed integer

A decimal number

A character

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `int a = 4 % 2;` store?

Hint: Remember `%` is the modulus operator.

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the binary representation of the decimal number 4?

1

10

11

100

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `int a = 1 << 3;` return in binary?

1

100

1000

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If 2 is 10 in binary, what will `int a = 2 >> 1;" return in binary?

10

100

1

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code, how do you declare a variable of type Point?

struct Point {

int x;

int y;

};

A) Point p;

B) struct Point p;

Access all questions and much more by creating a free account

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?