
VIVA 1 and 2 batch B1

Quiz
•
Computers
•
University
•
Hard
Sneha M
Used 7+ times
FREE Resource
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
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The client in socket programming must know which information?
IP address of Server
Port number
Both IP address of Server & Port number
Only its own IP address
Similar Resources on Wayground
10 questions
IT Quiz Round 3

Quiz
•
University
10 questions
Rapid Round 1

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
10 questions
Introduction to Arrays

Quiz
•
KG - University
10 questions
BCSC0006 - Quiz 1 - Arrays

Quiz
•
University
12 questions
Chapter 2-1: Array Part 1

Quiz
•
University
13 questions
Revision 2 MCA

Quiz
•
University
9 questions
C++ Puntatori

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University