Ambika ambi
Ambika ambi answered
In CSMA/CD the sender senses the medium(eg wire) if the medium is free it starts sending the data if in between any other sender sends data at same time collision occurs and this collision can be detected by all the devices in that network hence the sending device stops sending the data and waits untill … Read more
Ambika ambi
Ambika ambi answered
#include<stdio.h> #include<conio.h> void main() { int a; float b; char c; double d; clrscr(); printf("The size of a is %d bytes",sizeof(a)); printf("The size of a is %d bytes",sizeof(b)); printf("The size of a is %d bytes",sizeof(c)); printf("The size of a is %d bytes",sizeof(d)); getch(); }
Ambika ambi
Ambika ambi answered question
#include <iostream.h> #include <conio.h> class Triangle { float b,h; Triangle() { b=0; h=0; } Triangle(float x, float y) { b=x; h=y; } float Area() { return 0.5*b*h; } } class Circle { float r; Circle() { r=0; } Circle(float x) { r=x; } float Area() { return 4.3*r*r; } } class Square { float a; … Read more
Ambika ambi
Ambika ambi answered question
Import java.io.*; class Check { public static void main(String args[]) { DataInputStream d = new DataInputStream(System.in); int n=0; System.out.print("Enter any integer number"); n=Integer.parseInt(d.readLine()); if(n>0) System.out.println("I am the first"); //number is positive else system.out.println("The number is negative"); } }
Ambika ambi
Ambika ambi answered
The third normal form says that a primary key should uniquely identify all other non prime key. There should not exit transparent dependency. For example take a relation of employee - name,eno,dob,address,dno,dname,mgreno as its attributes. Here eno is primary key which uniquely identifies name,dob,address,dno and dno which is non prime attribute identifies dname,mgreno.eno identifies dname … Read more
Ambika ambi
Ambika ambi answered
ROM is a primary memory works faster then secondary memory Rom is non volatile(permanent) memory ROM has a program called boot strap loader which loads operating system from hard disk to main memory.