Sunday, October 20, 2019

Cloud Computing


Cloud Computing
Cloud Computing is the use of hardware and software to deliver a service over a network (typically the Internet). With cloud computing, users can access files and use applications from any device that can access the Internet.

An example of a Cloud Computing provider is Google's Gmail. Gmail users can access files and applications hosted by Google via the internet from any device.

Some common services that are hosted in the cloud are hosted desktop, provided by companies like AT&T; hosted email like Gmail, provided by companies like Google; cloud storage, provided by companies like Dropbox; and streaming music, provided by companies like Spotify. These services, applications and files are stored in the cloud and can be accessed by users via any device.

Why cloud computing is better:
·        Accessible from anywhere — Applications and data are not tied to a device. They are accessible from anywhere, enabling real-time collaboration by remote teams.
·        Flexible and scalable — Cloud-based applications are infinitely customizable. It is easy to increase power, storage, and bandwidth as users’ needs change.
·        Cost-effective — Businesses only pay for what they use, usually on a per-month, per-seat basis. There is no hardware taking up space and using electricity 24/7.
·        Hassle-free updates — Web-based software is constantly updated. The vendor handles maintenance, backups, and troubleshooting.
·        Fast — Service is delivered on demand through a global network of secure data centers that are constantly upgraded for maximum efficiency and performance.
·        Secure — Information is not vulnerable to a flood, fire, natural disaster, or hardware failure in one location. Security protocols and infrastructure are constantly analyzed and updated to address new threats.
Source:

Internet of Things (IoT)

Definition

The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.
IoT, in simpler terms, is a technology that connects all electronic devices together and prompts them to exchange information without any human intervention.

The term "The Internet of Things" was coined by Kevin Ashton in a presentation to Proctor & Gamble in 1999.

Components of IoT


Applications of IoT

Advantages and Disadvantages of IoT
Advantage of IOT
Disadvantage of IOT
a.     Accessing information is easy; you can control a device that is miles apart in real time.
a.             There is a huge risk of leakage of confidential data, when sent over a network.
b.    Communication between the connected devices becomes more transparent and easier.
b.             Due to its complex network, a single loophole can put the entire system down, affecting everyone.
c.     Transferring data packets over a network reduces both time and money.
c.             With automation, the need of human labor reduces drastically.
d.    Automation is the need of the hour; IOT reduces human intervention and efficiency of services
d.             Today’s lifestyle is technology driven, we depend on the technology for the tiniest of tasks.

Source:


Saturday, October 19, 2019

SEE Computer Science 2076 [Solutions Qbasic progamming + Notes + Objectives]


SEE Computer Science 2076 [Solutions Qbasic progamming + Notes + Objectives]



Please Click Below to download the file........






Friday, October 18, 2019

182. Qbasic sequential file handling to edit a record and display both edited and unedited records on the screen to compare them side by side.

182.A sequential data file “RECORD.DAT” contains different records under fields: name rollno., name, address and percentage. Write a program to edit a record and display both edited and unedited records on the screen to compare them side by side.
OPEN "D:\RECORD" FOR INPUT AS #1
OPEN "d:\TEMP.DAT" FOR OUTPUT AS #2
CLS
INPUT "ENTER ROLL NUMBER TO EDIT DATA"; E
FLAG = 0
WHILE NOT EOF(1)
INPUT #1, R, N$, A$, P
IF E <> R THEN
WRITE #2, R, N$, A$, P
ELSE
INPUT "ENTER ROLL NUMBER"; ER
INPUT "ENTER NAME"; EN$
INPUT "ENTER ADDRESS"; EA$
INPUT "ENTER PERCENTAGE"; EP
WRITE #2, ER, EN$, EA$, EP
FLAG = 1
END IF
WEND
IF FLAG = 0 THEN
PRINT "DATA NOT FOUND"
ELSE
PRINT "NON EDITED DATA"
PRINT "ROLL NUMBER= "; R
PRINT "NAME= "; N$
PRINT "ADDRESS= "; A$
PRINT "PERCENTAGE= "; P
PRINT "---------------"
PRINT "EDITED DATA"
PRINT "ROLL NUMBER: "; ER
PRINT "NAME: "; EN$
PRINT "ADDRESS: "; EA$
PRINT "PERCENTAGE: "; EP
END IF
CLOSE
KILL "D:\SALARY.DAT"
NAME "D:\TEMP.DAT" AS "D:\SALARY.DAT"
END

181. Qbasic sequential file handling to increase the marks of computer by 10 of those student who secured less than 40

181.A sequential data file “marks.dat” contains information such as student’s name, marks obtained in math, science and computer. Write a program that increase the marks of computer by 10 of those student who secured less than 40
OPEN "D:\PATIENT.DAT" FOR INPUT AS #1
OPEN "d:\TEMP.DAT" FOR OUTPUT AS #2
CLS
FLAG = 0
WHILE NOT EOF(1)
    INPUT #1, N$, A, B, C
    IF C > 40 THEN
        WRITE #2, N$, A, B, C
    ELSE
        C = C + 10
        WRITE #2, N$, A, B, C
        FLAG = 1
    END IF
WEND
IF FLAG = 0 THEN
    PRINT "DATA NOT FOUND"
ELSE
    PRINT "DATA EDITED"
END IF

CLOSE

KILL "D:\PATIENT.DAT"
NAME "D:\TEMP.DAT" AS "D:\PATIENT.DAT"
END

180. Qbasic sequential file handling to Delete some records from “neps.dat” file


180.Delete some records from “neps.dat” file where computer ask user to enter the record, which is to be deleted. (Fields are name, address, and telephone number)

OPEN “NEPS.DAT” FOR INPUT AS #1
OPEN “TEMP.DAT” FOR OUTPUT AS #1
CLS
INPUT “Enter name which is to be deleted”; D$
WHILE NOT EOF(1)
INPUT #1, N$, A$, T#
IF UCASE$(D$)<>UCASE$(N$) THEN
WRITE #2, N$, A$, T#
ELSE
PRINT “Deleted data=”; N$, A$, T#
END IF
WEND
CLOSE #1, #2
 KILL “NEPS.DAT”
NAME “TEMP.DAT” AS “NEPS.DAT”
END

179. Qbasic sequential file handling that asks a post of the employee and displays his/her records from the sequential data file “XYZ.REC” having fields Name, Post, Dept and Salary.


179.WAP that asks a post of the employee and displays his/her records from the sequential data file “XYZ.REC” having fields Name, Post, Dept and Salary.
OPEN “XYZ.REC” FOR INPUT AS #1
CLS
INPUT “Enter post to be searched”; S$
FLAG=0
WHILE NOT EOF(1)
INPUT #1, N$, P$, D$, S
IF UCASE$(S$)=UCASE$(P$) THEN
PRINT N$, P$, D$, S
FLAG=1
END IF
WEND
IF FLAG=0 THEN PRINT “Data not found”
CLOSE #1
END

178. Qbasic sequential file handling that asks a user to input a registration number and displays the record of the particular registration if present.

178.A sequential data file 'Student.dat' contains registration number, student name, address and date of birth of some students. Write a program that asks a user to input a registration number and displays the record of the particular registration if present.
OPEN “STUDENT.DAT” FOR INPUT AS #1
CLS
INPUT “Enter registration no. to be searched”; S
FLAG=0
WHILE NOT EOF(1)
INPUT #1, R, N$, A$, D$
IF S = R THEN
PRINT R, N$, A$, D$
FLAG=1
END IF
WEND
IF FLAG=0 THEN PRINT “Data not found”
CLOSE #1
END

177. Qbasic sequential file handling to search data from a data file. If the data is not found, then display the message “Data not found in the list”.

177.A data file named “record.dat” contains name, age and salary for n number of persons. Write a program to input a name to search data from a data file. If the data is not found, then display the message “Data not found in the list”.
OPEN “RECORD.DAT” FOR INPUT AS #1
CLS
INPUT “Enter name to be searched”; S$
FLAG=0
WHILE NOT EOF(1)
INPUT #1, N$, A$, S
IF UCASE$(S$)=UCASE$(N$) THEN
PRINT N$, A$, S
FLAG=1
END IF
WEND
IF FLAG=0 THEN PRINT “Data not found”
CLOSE #1
END

176. Qbasic sequential file handling to isplay the first 10 records from a file named “resource.dat” having fields name, phone and email.

176.Write a program to display the first 10 records from a file named “resource.dat” having fields name, phone and email.

OPEN "RESOURCE.DAT" FOR INPUT AS #1
CLS
FOR I = 1 TO 10
  INPUT #1, N$, C, R
PRINT N$, C, R
NEXT I
CLOSE #1
END