Answer: Camera and Microphone
Explanation:
This can be embedded on to the monitor.m
Camera for Visual
Microphone for radio.
Font size, font style, and <em><u>typeface</u></em> are all aspects of character formatting.
Answer:
Relational Database
Explanation:
Relational Database (RDB) contains collection of data organized with tables, records (rows) and columns (attributes). In RDB we can create relationships between tables in order to create well defined structure of database.
To query the RDB, it uses SQL (Structural Query Language) in order to perform basic operations on tables such as Create, Read, Update and Delete.
There are four types of relationship that we can defined in RDB, such as One-To-One, One-To-Many, Many-To-Many, Many-To-One.
Answer:
The function in python is as follows
def is_present(num,list):
stat = False
if num in list:
stat = True
return bool(stat)
Explanation:
This defines the function
def is_present(num,list):
This initializes a boolean variable to false
stat = False
If the integer number is present in the list
if num in list:
This boolean variable is updated to true
stat = True
This returns true or false
return bool(stat)
Explanation:
To understand how this program is working let us print the variable value at different stages of the program so that we can understand how it is working.
Intitally, value=10 when it was declared.
Then we added 5 and it become value=15
then we used fork() function which creates a parent(orignal) and child(duplicate)
When fork() succeeds it returns the child pid to parent and returns 0 to the child. As you can see (pid > 0) condition is always true therefore the parent pid value becomes 35 ( 15+20) and the child pid value becomes 0.
#include <stdio.h>
#include <unistd.h>
int main( ) {
int value = 10;
printf("%d\n",value);
int pid;
value += 5;
printf("%d\n",value);
pid = fork( );
printf("%d\n",pid);
if (pid > 0 )
{
value += 20;
}
printf("%d\n",value);
return 0;
}
Output:
10 (initial value)
15 (modified value)
5343 (pid when fork is used)
35 (final modified value)
0 (child value)
15 (the parent value when fork was used)