Search Header Logo

Webathan

Authored by CSI VRSEC

Other

University

Used 12+ times

Webathan
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Consider the python function

For large values of y the return value of the function f best approximates

x^y

e^x

ln(1+x)

x^x

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the return value of Get(3,2)?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Unsigned int f(unsinged int n , unsinged int r)

{

if (n>0)

return ((n%r) + f(n/r,r));

else return 0;

}

What is the return value of the function f when it is called as f(345,10)

345

12

5

3

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Consider the python function :

The Value returned by f(1) is

5

6

7

8

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Consider the following function.

The return value of the A(5)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Consider the Following function written in the C Programming Language

The Output of the function on input "ABCDEFGH" is

ABCD EFGH

ABCD

HGFE DCBA

DCBA

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following C code ?

Assume that the Address of x is 2000 (in Decimal) and an integer requires 4 bytes of Memory?

int main()

{

unsigned int x[4][3]={(1,2,3),{4,5,6},{7,8,9},{10,11,12}};

printf("%u, %u, %u", x+3, *(x+3) ,*(x+2)+3);

}

2036,2036,2036

2012,4,2204

2036,10,10

2012,4,6

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?