CS1202-FOC Question Bank
CS1202-FOC Question Bank
QUESTION BANK
UNIT I
COMPUTER BASICS
1.Define computers?
A computer is a programmable machine or device that performs pre-defined or programmed
computations or controls operations that are expressible in numerical or logical terms at high
speed and with great accuracy.
7. Define memory?
Computer memory refers to devices that are used to store data or programs (sequences of
instructions) on a temporary or permanent basis for use in an electronic digital computer.
17. Write the binary and octal equivalent of hexadecimal numbe r 7BD?
Binary Equivalent of 7BD = (0111 1011 1101)2
Octal Equivalent of 7BD = (011 110 111 101) = (3675)8
The Central Processing Unit(CPU) has a Memory Data Register (MDR) and a Memory
Address Register (MAR). The Memory Data Register (MDR) keeps the data which is transferred
between the Memoryand the CPU. The Program Counter (PC) is a special register in the CPU
which always keeps the address of the next instruction to be executed. The Arithmetic and Logic
unit of CPU places the address of the memory to be fetched, into the Memory Address Register.
29. Define interrupt structures.
Interrupt structure refers to the precedence of interrupts. Hardware events that cause
interrupts are assigned CPU interrupt levels. The CPU can disable interrupts of a certain level
and below, thus allowing an important interrupt to preempt an interrupt of lower priority, but not
vice-versa.
30.Define bus architecture of pe rsonal computers.
In computer architecture, a bus (shortened form of the Latin omnibus, and historically also called
data highway or databus) is a communication system that transfers data between
components inside a computer, or between computers. This expression covers all related
hardware components (wire, optical fiber, etc.)
PART-B (UNIT-I)
1.Explain about Data representation?
2.Explain about representation of numbe rs?
3.Explain about decimal to binary conversion with example?
4.Discuss about error detecting codes?
5.briefly explain about interconnectio of units?
6.explain about processor to me mory communication?
7.Explain about interrupt structures?
8.Explain about bus architecture of pe rsonal computers?
9.Explain about multi programming?
UNIT-2
DATABASE
PART A
1. Define database
A database is an organized collection of data, generally stored and accessed electronically
from a computer system. It supports the storage and manipulation of data.In other words,
databases are used by an organization as a method of storing, managing and retrieving
information.
2. What are the two characteristics of database?
● Provides security and removes redundancy
● Self-describing nature of a database system
● Insulation between programs and data abstraction
● Support of multiple views of the data
3. What are the types of database?
● Centralized database
● Distributed database
● Personal database
● End-user database
● Commercial database
● NoSQL database etc.,
4. What are advantages of databse?
● Reduced data redundancy
● Reduced updating errors and increased consistency
● Greater data integrity and independence from application programs
● Improved data access to users through the use of host and query languages
5. What are the disadvantages of database?
● Although databases allow businesses to store and access data efficiently, they also have
certain disadvantages
● Complexity
● Cost and complexity
6. Give some examples for database
1. Oracle Database
2. Sybase
3. MySQL
7. Define Conceptual Data model
A Conceptual Data Model is an organized view of database concepts and their relationships.
This model describes the database at a very high level and is useful to understand the needs or
requirements of the database. The purpose of creating a conceptual data model is to establish
entities, their attributes, and relationships.
8.What are the components of conceptual data model
● Entity
● Attributes
● Relationship.
9. Name some datamodels in dbms
1. Hierarchical Model
2. Network Model
3. Entity-Relationship Model
4. Relational Model
5. Object-Oriented Data Model
6. Object-Relational Data Model
10. Define ER model
Entity-Relationship Model or simply ER Model is a high- level data model diagram. In this
model, we represent the real- world problem in the pictorial form to make it easy for the
stakeholders to understand. We use the ER diagram as a visual tool to represent an ER Model.
11. Define Relational model
Relational Model is the most widely used model. In this model, the data is maintained in the
form of a two-dimensional table. All the information is stored in the form of row and columns.
The basic structure of a relational model is tables. So, the tables are also called relations in the
relational model
12. Define DBMS
A database management system (DBMS) is a software package designed to define, manipulate,
retrieve and manage data in a database. A DBMS generally manipulates the data itself, the data
format, field names, record structure, and file structure. It also defines rules to validate and
manipulate this data.In other words, a database management system is a combination of
hardware and software that can be used to set up and monitor a database and can manage the
updation and retrieval of the database that has been stored in it.
13. What is the purpose of DBMS
The purpose of DBMS is to transform the following −
● Data into information.
● Information into knowledge.
● Knowledge to the action.
14. What are the different types of DBMS languages
● Data Definition Language (DDL) − Create, Drop, Truncate, Rename.
● Data Manipulation language (DML) − Select, Insert, Delete, Update.
● Data Control Language (DCL) − Revoke, Grant.
● Transaction Control Language (TCL) − Rollback, Commit.
15. Define DDL
o DDL stands for Data Definition Language. It is used to define database structure or
pattern.
o It is used to create schema, tables, indexes, constraints, etc. in the database.
o Using the DDL statements, you can create the skeleton of the database.
o Data definition language is used to store the information of metadata like the number of
tables and schemas, their names, indexes, columns in each table, constraints, e tc.
16. What are the types of DBMS architecture
There are three types of DBMS Architecture. They are
1-Tier Architecture 2-Tier Architecture 3-Tier Architecture
● All the jobs of a batch are executed sequentially one after the other.
● The output is obtained only after all the jobs are executed.
● Thus, priority can not be implemented if a certain job has to be executed on an urgent
basis.
● The jobs of a particular batch might take long time for their execution.
● This might lead to starvation to other jobs in other batches.
12.Define Multiprogramming OS :.
The OS could pick and start the execution of one of the jobs in memory, whenever the jobs does
not need CPU that means the job is working with I/O at that time the CPU is idle at that time the
OS switches to another job in memory and CPU executes a portion of it till the job issues a
request for I/O and so on.
24.Define Kernel.
The kernel is the heart of the operating system. It interacts with the hardware and most of the
tasks like memory management, task scheduling and file management.
25.Define Shell.
The shell is the utility that processes your requests. When you type in a command at your
terminal, the shell interprets the command and calls the program that you want. The shell uses
standard syntax for all commands. C Shell, Bourne Shell and Korn Shell are the most famous
shells which are available with most of the Unix variants.
6.Define Simple mail transport Protocol (SMTP): SMTP is designed to send and distribute
outgoing E-Mail.
27.Define CSS.
Cascading Style Sheets (CSS) describe how documents are presented on screens, in print, or
perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the
Web since the consortium was founded in 1994.
Cascading Style Sheets (CSS) provide easy and effective alternatives to specify various attributes
for the HTML tags. Using CSS, you can specify a number of style properties for a given HTML
element. Each property has a name and a value, separated by a colon (:). Each property
declaration is separated by a semi-colon (;).
28. List out the types of css.
● External Style Sheet − Define style sheet rules in a separate .css file and then
include that file in your HTML document using HTML <link> tag.
● Internal Style Sheet − Define style sheet rules in header section of the HTML
document using <style> tag.
● Inline Style Sheet − Define style sheet rules directly along-with the HTML elements
using style attribute.
PART-B(UNIT-IV)
1.Explain about communication protocol and its types?
2.Define LAN/WAN/WWW?
3.Write a html program by using basic html tags?
4.Discribing Authoring tools?
5.Create form using Html form Tags.
6.Explain CSS and its types?
7.What are scripting languages and its needs?
8.write program for inline style sheet?
9. write program for external style sheet?
10 .write program for inlernal style sheet?
11. Describe about Angular js?
UNIT V
NETWORKING
1.Define Internet Security and its types.
Internet security refers to securing communication over the internet. It includes specific security
protocols such as:
Internet Security Protocol (IPSec)
Secure Socket Layer (SSL)
Internet Security Protocol (IPSec)
● PAN is relatively flexible and provides high efficiency for short network range.
● It needs easy setup and relatively low cost.
● It does not require frequent installations and maintenance
● It is easy portable.
● Needs less technical skill to use.
These are some of the disadvantages of PAN :
19.Define BLUETOOTH.
Bluetooth is a wireless technology standard for exchanging data over short distances (using
short-wavelength radio transmissions in the ISM band from 2400–2480 MHz) from fixed and
mobile devices, creating personal areanetworks (PANs) with high levels of security. Different
type of network is needed to connect different small devices in close proximity (about 10 m)
without expensive wiring or the need for a wireless infrastructure .
22.DefineWireless PAN.
Wireless Personal Area Network (WPAN) is connected through signals such as
infrared, ZigBee, Bluetooth and ultrawideband etc.
24.Define Scatternet .
Bluetooth defines a structure called scatternet to facilitate inter piconet communication. A
scatternet is formed by interconnecting multiple piconet. A group of piconet is called scatternet.
25.Define WI-MAX.
Wi-MAX (Worldwide Inte roperability for Microwave Access) unites the technologies of
wireless and broadband to provide high-speed internet access across long distances. The name
was christened by WiMAX Forum that promotes interoperability and conformity of the standard.
The forum defines the technology as "a standards-based technology enabling the delivery of last
mile wireless broadband access as an alternative to cable and DSL".
26.Draw the architecture diagram for WI_MAX.
32. What are all the advantages and disadvantages of peer to peer computing?
34. What are all the advantages and disadvantages of Grid computing?
Advantages of Grid Computing:
1. It is not centralized, as there are no servers required, except the control node which is just
used for controlling and not for processing.
2. Multiple heterogeneous machines i.e. machines with different Operating Systems can use
a single grid computing network.
3. Tasks can be performed parallelly across various physical locations and the users don’t
have to pay for them (with money).
35.What is cloud computing?
Cloud computing is a general term for anything that involves delivering hosted services
over the internet. These services are divided into three main categories or types of cloud
computing: infrastructure as a service (IaaS), platform as a service (PaaS) and software as a
service (SaaS).
36.Define IaaS.
IaaS providers, such as Amazon Web Services (AWS), supply a virtual server instance and
storage, as well as application programming interfaces (APIs) that let users migrate workloads to
a virtual machine (VM). Users have an allocated storage capacity and can start, stop, access and
configure the VM and storage as desired. IaaS providers offer small, medium, large, extra- large,
and memory- or compute-optimized instances,
37.Define PaaS.
In the PaaS model, cloud providers host development tools on their infrastructures. Users access
these tools over the internet using APIs, web portals or gateway software. PaaS is used for
general software development, and many PaaS providers host the software after it's developed.
Common PaaS products include Salesforce's Lightning Platform, AWS Elastic Beanstalk and
Google App Engine.
38.Define SaaS.saaS is a distribution model that delivers software applications over the internet;
these applications are often called web services. Users can access SaaS applications and services
from any location using a computer or mobile device that has internetaccess. In the SaaS model,
users gain access to application software and databases. One common example of a
SaaSapplication is Microsoft 365 for productivity and email services.
PART-B(UNIT V)
1.Explain about Internet security and its types.
2.Explain about mobile technology?
3.Broiefly explain about architecture of GSM cellular mobile phone system?
4.Expalin about Wireless lan?
5.Explain about PAN?
6.Explain about Bluetooth?
7.Explain about Wi-MAX.
8.Explain about peer to peer computing?
9.Expalin about grid computing?