Professional Documents
Culture Documents
Prabharani Public School: Half Yearly Exam 2016 Time: 3 H Class - XII, Sub: Comp - Sci. F.M.: 70
Prabharani Public School: Half Yearly Exam 2016 Time: 3 H Class - XII, Sub: Comp - Sci. F.M.: 70
Time : 3 H
F.M. : 70
F.M. : 70
mode which creates the file if does not functions, with or without insertion
exist, but if the file exists then its
operators.
existing contents are retained and new
Q.15 Character based Input / Output
information is appended to it.
(I/O) functions supported by C++ are
Q.12 In the bus network topology,
based on its predecessor C. All the
every workstation is connected to a functions supported by the C++
main cable called the bus. Therefore, Standard Function Library are termed as
in effect, each workstation is directly ANSI C I/O system. To use these
connected to every other
predefined I/O functions in a C++
workstation in the network. In
program, the header
the star network topology, there is a file <cstdio.h> should be included.
central computer or server to which Most of these functions set a built in
all the workstations are directly
global integer variable "errno" when an
connected. Every workstation is
error is encountered. This variable
indirectly connected to every other stores the information about the error
through the central computer. In
occured, so that it can be reffered by C+
the ring network topology, the
+ programs.
F.M. : 70