Think Tank Tuesday

Think Tank Tuesday

University

30 Qs

quiz-placeholder

Similar activities

C Programing

C Programing

University

25 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Structures and Pointers in C

Structures and Pointers in C

University

35 Qs

ITSA Selection Round 1

ITSA Selection Round 1

University

27 Qs

TARANG C-COLLEGIUM ROUND-2

TARANG C-COLLEGIUM ROUND-2

University

30 Qs

Coding Trivia

Coding Trivia

University

30 Qs

OCS752_CP_WEEKLY_TEST4 (08.09.2020)

OCS752_CP_WEEKLY_TEST4 (08.09.2020)

University

30 Qs

C Language Basics

C Language Basics

University

26 Qs

Think Tank Tuesday

Think Tank Tuesday

Assessment

Quiz

Computers

University

Hard

Created by

SRGEC AI&DS

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Guess the output for the Follolwing Code

#include <stdio.h>

int main(){

int i=1;

while(i<5)

printf(" %d" ,i) ;

i++;

}

1 2 3 4 5

1 2 3 4

1 1 1 1 1 1 …...

Syntax error

2.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

How do you think AI might impact your life in the future?

It will help me learn new things and be more productive.

It will do all my homework for me.

It will take over all jobs and humans will become obsolete.

I'm not sure, but I'm curious to find out!

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

How to find length of string in c

name.length()

name.size()

strlen

No Predefined Function

4.

FILL IN THE BLANK QUESTION

20 sec • 3 pts

Media Image

Identify the Budding AI-Chatbot Logo

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Guess the output of the below Code.

#include <stdio.h>

int main() {

int a = 2;

int b = 14;

int c = 5;

printf("%d\n", (a > b) ? (a > c ? a : c) : (b > c) ? c : b);

return 0;

}

2

14

5

Compilation Error

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What will be the output of the following code snippet?

#include <stdio.h>
int main() {
               int a = 3, b = 5;
               int t = a;
               a = b;
               b = t;
               printf("%d %d", a, b);
               return 0;
}

3 5

3 3

5 5

5 3

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of these is an ethical concern about AI?

AI can help us solve complex problems.

AI can automate many tasks, making life easier.

AI could potentially become biased or discriminatory.

AI might take away jobs from humans.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?