Seminar1_EDA25

Seminar1_EDA25

University

10 Qs

quiz-placeholder

Similar activities

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

Pint of Science Carballo Día 3

Pint of Science Carballo Día 3

University

10 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Justicia Social en un mundo digitalizado

Justicia Social en un mundo digitalizado

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

Website Usability and UX

Website Usability and UX

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?