operatiing system

#include <stdio.h> 
#include <sys/types.h>        1(a)
#include <unistd.h> 
int main() { 
pid_t pid, mypid, myppid;

pid = getpid(); 
printf("Before fork: Process id is %d\n", pid);

pid = fork(); 
if (pid < 0) { 
perror("fork() failure\n");

return 1; } 
process if (pid == 0) { 
printf("This is child process\n");

mypid = getpid(); 
myppid = getppid(); 
printf("Process id is %d and PPID is %d\n", mypid, myppid); }

else {  sleep(2); 
printf("This is parent process\n");

mypid

...

See on Student Notes »

M.e.

प्रश्न 8 : संक्षिप्त टिप्पणी लिखिए (कोई चार)

(a) आघूर्ण एवं बल-युग्म

आघूर्ण = बल × लंब दूरी

बल-युग्म दो समानांतर, समान परिमाण के विपरीत दिशा वाले बल होते हैं

बल-युग्म केवल घूर्णन उत्पन्न करता है

(b) साम्यावस्था

...

See on Wikiteka »

DSA prog 6,7,8,9

};
typedef struct node* NODE;
NODE start = NULL;
int count = 0;
NODE create() {
NODE n = (NODE)malloc(sizeof(struct node));
if (!n) {printf("Memory allocation failed\n");
exit(0);
}
}
printf("Enter USN Name Branch Sem Phone:\n");
scanf("%s %s %s %d %ld",
n->usn, n->name, n->branch, &n->sem, &n->phone);
n->link = NULL;
count++;
return n;
NODE insert_front() {
NODE n = create();
n->link = start;
return n;
}
NODE insert_end() {
NODE n = create(), cur;
if (!start) return n;
cur = start;
while (cur-...

See on Student Notes »

fsfdgfd

9k=



2Q==



Continuity of Current: The principle of conservation of charge states that charges can neither be created nor destroyed although equal amounts of positive and negative charge may be simultaneously created, obtained by separation, destroyed or lost by recombination.ADQeYspKqpcAAAAAAElFTkSuQmCC04QNVnMUUA4AAAAAElFTkSuQmCCwMNZnmQE74nEgAAAABJRU5ErkJggg==qRTWV5czJrQAAAABJRU5ErkJggg==FNQE6E1qUpOa1KQmNalJTWrSV4iaN4Ca1KQmNalJTWpSk5rUpK8MAf8X79hfnqNcPN4AAAAASUVORK5CYII=

H1DSMcBLUR9VAAAAAElFTkSuQmCCH9iF62YQbALqgAAAABJRU5ErkJggg==yfS8nsG5HdlwL8Aq5lfdWE8BycAAAAASUVORK5CYII=fLpXsmqoHAvQYXetobtpVRDvVZQUFBQuHsoAq6goKCgoKCgoKBw3wD8D1zvOwARHicJAAAAAElFTkSuQmCCxbWKKoxNaGgAAAABJRU5ErkJggg==KML8P8Hecc69FCiv5sAAAAASUVORK5CYII=



 12djvWSFTDbaMmrGu4bdRIVMNto0aiGm4T8P+mkEZ6QttsQwAAAABJRU5ErkJggg== Equation 5 indicates that , the current or charge per second, diverging from small volume peruuHbFuv5X78YtMmGoRq4JOBmFntMSbKdtHIoRr4ZPAZIJNCg1ANNPDAAP8foMWnU5jf760AAAAASUVORK5CYII=
unit volume is equal to the time rate of decrease of charge per unit volume at every point.The velocity is given by,YsiZMAAAAASUVORK5CYII=
 


454BUmdZsiQIUOGDBk+JZj9P0H3IRaDYwXxAAAAAElFTkSuQmCC1Ps75FEGG8Nb6IzP4HC0m96SmwYFIAAAAASUVORK5CYII=41WR0V8TvYV7i1OfIsDJE3IS0LlSDj3zraJ4n2ij1ytVUhxDOiAYoQQpyAW2e8fdLRi51EdfzET9O2PwM5g2iI8thGhRDimdEARQghhHhR7CtcAw8hxN9hmr4AZGK56FBcQiQAAAAASUVORK5CYII=4eFcnZyRZgdPevwWNMMSTfhCY1DPfjbwJM9iT3onsar0Kv2f8Cc4Fpdq3F5uUAAAAASUVORK5CYII=WqtivMxg0AAAAASUVORK5CYII=A9W73PgRNg6SAAAAAElFTkSuQmCCwHPCBPGKkMntgAAAABJRU5ErkJggg==



FARADAY'S LAW -In

...

See on Wikiteka »

XHEAT

४. दिइएको कवितांश पढी सोधिएका प्रश्नको उत्तर लेख्नुहोस् :
हिमाललाई न्यानो दिन्छ तराईको काखा
मधेशको पङ्खा बनी बस्छन् भिरपाखा
स्वाभिमानको मियोमाथि पिरतीको दियो
बाली मुस्कुराएका छन् कोटी कोटी...

See on Wikiteka »

HTML CSS

<!DOCTYPE html>
<html>
<head>
<style>
*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
body{background:#f4f4f4;color:#333}
header{background:white;padding:10px 50px;border-bottom:1px solid #ddd}
.top-nav{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px}
.logo{font-weight:bold;font-size:22px}
.uiu{color:#000}.info-desk{color:#ff4419}
.auth-nav a{text-decoration:none;color:#666;margin-right:20px;font-weight:bold}
.signup-btn{background:...

See on Student Notes »

NEURO

Reflex = involuntary motor response.Reflex arc: receptor → afferent nerve → CNS → efferent nerve → effector.Deep tendon reflexes (monosynaptic):Biceps C5–C6 (musculocutaneous) → elbow flexion.Triceps C6–C7 (radial) → elbow extension.Brachioradial C5–C6 (radial) → elbow flexion.Patellar L3–L4 (femoral) → knee extension.Achilles S1–S2 (tibial) → plantar flexion.Superficial reflexes (polysynaptic):Corneal CN V–VII.Abdominal T7–T12.Cremasteric L1–L2.Anal S4–S5.Plantar

...

See on Wikiteka »

HUMAN RM

1. Human Resource Management (HRM) – Introduction

Human Resource Management (HRM) is the strategic approach to managing people effectively in an organization to achieve organizational goals and improve employee performance.

Definition

HRM is concerned with recruitment, development, motivation, and maintenance of human resources in an organization.

Objectives of HRM

  • To ensure optimum utilization of human resources
  • To improve employee efficiency and productivity
  • To maintain healthy industrial relations
...

See on Student Notes »

fewfwerrf

Rules of Composition Composition is the arrangement of visual elements in a photograph. Techniques such as the rule of thirds, leading lines, framing, balance, and symmetry help create visually effective images. Portrait Composition Portrait photography focuses on expressions and personality. Lighting, background, eye placement, and framing are important. Landscape Composition Landscape photography emphasizes depth, perspective, and natural beauty. Foreground interest, horizon placement, and light

...

See on Student Notes »