Search Header Logo

CYBERCREST - 2K24_TECHNICAL QUIZ_ROUND_1_SET_1

Authored by Mohammad Luqhmaan

Computers

University

Used 5+ times

CYBERCREST - 2K24_TECHNICAL QUIZ_ROUND_1_SET_1
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

Specify the 2 library functions to dynamically allocate memory

malloc() and memalloc()

alloc() and memalloc()

malloc() and calloc()

memalloc() and faralloc()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can we pass a variable argument list to a function at run-time in C programming?

Yes

No

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Who invented C++?

  • Dennis Ritchie

Ken Thompson

Brian Kernighan

Bjarne Stroustrup

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to open a file `example.txt` for reading in Python

`file = open("example.txt", "r")` 

`file = open("example.txt", "w")` 

`file = open("example.txt", "read")` 

`file = open("example.txt", "rb")` 

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements is correct about the `lambda` keyword in Python?

Used to define a multiline function

Used to create anonymous functions 

Used to declare variable names 

Used to define class methods 

 

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What do you mean by chained exceptions in Java

Exceptions occurred by the VirtualMachineError

An exception caused by other exceptions

Exceptions occur in chains with discarding the debugging information

None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The topology that covers security, robust, and eliminating the traffic factor or control is known as

Mesh

Ring

Bus

Star

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?