VIVA 1 and 2 batch B1

VIVA 1 and 2 batch B1

University

8 Qs

quiz-placeholder

Similar activities

Javascript

Javascript

University

12 Qs

Networking Essentials - Test 5

Networking Essentials - Test 5

University

10 Qs

Programación II Parte 5

Programación II Parte 5

University

10 Qs

Podsumowanie: binarny, komputer, sieć

Podsumowanie: binarny, komputer, sieć

7th Grade - University

13 Qs

แบบทดสอบก่อน-หลังเรียน สื่ออิเล็กทรอนิกส์สำหรับการจัดแสดง

แบบทดสอบก่อน-หลังเรียน สื่ออิเล็กทรอนิกส์สำหรับการจัดแสดง

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

SegInfo Aula4

SegInfo Aula4

University

11 Qs

SOII. Gestión ficheros y práctica

SOII. Gestión ficheros y práctica

University

10 Qs

VIVA 1 and 2 batch B1

VIVA 1 and 2 batch B1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Sneha M

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does socket address structure consists of?

family, port, Ip address

family, port, len, Ip address

family,len, zero, port, Ip address

port, Ip address

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct syntax of bind() function call

int bind(int, struct sockaddr *, socklen_t*);

int bind(int *, struct sockaddr *, socklen_t);

int bind(int, struct sockaddr *, socklen_t);

int bind(int *, struct sockaddr *, socklen_t*);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Result arguments is used when

data is copied from process to process

data is copied from process to kernel

data is copied from kernel to process

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions that pass a socket address structure from the process to the kernel

bind, connect, and accept

bind, connect, and sendto

accept, recvfrom, sendto, and getpeername

accept, recvfrom, getsockname, and getpeername

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

function that pass a socket address structure from the kernel to the process

bind, connect, and sendto

accept, recvfrom, getsockname, and getpeername

bind, connect, and accept

accept, recvfrom, accept, and getpeername

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the valid combination of arguments for family and type in socket() call for UDP protocol

SOCK_STREAM, AF_INET

SOCK_DGRAM, AF_INET

SOCK_RAW, AF_INET

SOCK_SEQPACKET, AF_INET

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If client's connect() call receives an ICMP packet for the SYN packet then it is

Hard error

Error due to destination not reachable

Error due to connection request time out

Error due to no process is waiting at the server

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?