Showing posts with label class12-computerScience. Show all posts
Showing posts with label class12-computerScience. Show all posts

Wednesday, 2 January 2019

CBSE Class 12 - Computer Science Sample Question Paper + Solution- (2018-19)(#cbsepapers)(#eduvictors)

CBSE Class 12 - Computer Science
 Sample Question Paper + Solution- (2018-19)

CBSE Class 12 - Computer Science  Sample Question Paper + Solution- (2018-19)(#cbsepapers)(#eduvictors)

Computing represents a convergence of operations that have been mechanized to varying stages in the past. Computer science is full of opportunities to be creative. Algorithms are solutions designed to solve problems. The Computer Science Examination is a three-hour-long that attempts to cover the material you would learn in a class 12 chemistry course.

Here follows the class 12  Computer Science sample question paper along with the marking scheme and answers for your assessment.

Sunday, 25 November 2018

CBSE Class 12 - Computer Science - SQL Commands and Functions - Summary(#cbsenotes)(#eduvictors)

SQL Commands and Functions 

CBSE Class 12 - Computer Science - SQL Commands and Functions - Summary(#cbsenotes)(#eduvictors)

Summary

SQL (Structured Query Language) is a standardized language used to create, maintain, modify, and query relational databases. When a user wants to get some information from a database file, he can issue a SQL query.

Types of SQL commands OR Processing capabilities of SQL:
Data Definition Language Commands (DDL Commands)
Data Manipulation Language Command (DML Commands)
Transaction Control Language Command (TCL commands)
Data Control Language (DCL Commands)


DDL Commands
All the commands used to create, modify or delete physical structure of an object like a table. e.g., Create, Alter, Drop.

DML Commands
DML contains commands that can be used to manipulate the database objects and to query the databases for information retrieval.
e.g Select, Insert, Delete, Update etc.

TCL commands
TCL include commands to control the transactions in a database system. The commonly used commands in TCL are COMMIT, ROLLBACK etc.

Data Control Language (DCL)
This language is used for controlling the access to the data. Various commands like GRANT, REVOKE etc are available in DCL.


Thursday, 23 August 2018

Class 10 - Foundation of Information Technology - Chapter 01 - Internet Basics - Very Short Questions and Answers (#cbsenotes)(#eduvictors)

Internet Basics

Very Short Questions and Answers
Class 10 - Foundation of Information Technology

Class 9 - Foundation of Information Technology - Chapter 01 - Internet Basics - Very Short Questions and Answers (#cbsenotes)(#eduvictors)


Question 1: Why is the Internet is so popular? 

Answer: Due to its extensible use and sharing of data, the Internet becomes so popular.


Question 2: Mention any two major uses of the Internet. 

Answer: The two major uses of the Internet are as follows:

1. For the students and educational purposes, the Internet is widely used to gather information so as to do the research.

2. We can send/receive the mail all over the world.


Question 3: Write two advantages of using the Internet.

Answer: Advantages of using the Internet are as follows:

1. It is used for communication, entertainment, searching for information and for providing many types of services.

2. It provides the facility of E-mail.


Tuesday, 21 August 2018

CBSE Class 12 - Computer Science - C++ Standard Headers - Questions and Answers (#cbsenotes)(#eduvictors)

 C++ Standard Headers

(Q & A)

CBSE Class 12 - Computer Science - C++ Standard Headers - Questions and Answers (#cbsenotes)(#eduvictors)


Q1: What is the purpose of a header file in a program?

Answer: Header files provide function prototypes, definitions of library functions, declaration of data types and constants used
with the library functions.


Q2: What is the purpose of the following header files?
a) iostream.h b) stdio.h c) ctype.h
d) string.h e) math.h f) stdlib.h

Answer
iostream.h: Defines stream classes for input/output streams
stdio.h  : Standard input and output
ctype.h  : Character tests
string.h : String operations
math.h   : Mathematical functions such as sin() and cos()
stdlib.h : Utility functions such as malloc() and rand()

Saturday, 23 September 2017

CBSE Class 12 - Computer Science/ Informatics Practices - Database Concepts - Important Terms (#cbseNotes)

Basic Database concepts - Important Terms

CBSE Class 12 - Computer Science/ Informatics Practices - Database Concepts - Important Terms (#cbseNotes)

Data:
Raw facts and figures which are useful to an organization. We cannot take decisions on the basis of data.


Information:
Well processed data is called information. We can take decisions on the basis of information.


Field:
Set of characters that represents specific data element.


Record:
Collection of fields is called a record. A record can have fields of different data types.


File:
Collection of similar types of records is called a file.


Data Model:
Data models capture the nature of and relationships among data and are used at different levels of abstraction as a database is conceptualized and designed.


Monday, 11 September 2017

CBSE Class 12 - Computer Science - C++ Practical Pointer Handling Snippet-13 Reverse Array of Strings (Pointers)

C++ Practical
Pointer Handling Snippet-13
Reverse Array of Strings (Pointers)  

CBSE Class 12 - Computer Science - C++ Practical Pointer Handling Snippet-13 Reverse Array of Strings (Pointers)


Question: Suppose 7 names are stored in an array of pointers names[] as shown below:

char* names[] = {"Anand", "Naureen", "Banjot", "Wahid", "Sheena", "Shahid", "Sonakshi"};

Write a program to reverse the order of these names


Answer:

Thursday, 31 August 2017

CBSE Class 10 - C++ Practical Pointer Handling Snippet-12 Swap Integers Using Pointers (#cbseNotes)

C++ Practical
Pointer Handling Snippet-12
Swap Integers Using Pointers 

CBSE Class 10 - C++ Practical Pointer Handling Snippet-12 Swap Integers Using Pointers (#cbseNotes)


Question: Write a function using pointers to swap two integers. *


Answer:

Sunday, 27 August 2017

CBSE Class 12 - Computer Science - C++ Practical String Processing Snippet-11 Sub-String Handling (#cbseNotes)

C++ Practical
String Processing Snippet-11
Sub-String Handling 

CBSE Class 12 - Computer Science - C++ Practical String Processing Snippet-11 Sub-String Handling  (#cbseNotes)

Question: Write a substr() that will scan a string for the occurrence of a given sub-string
The prototype of the function would be:
    char* substr(char* str1, char* str2);
The function should return a pointer to the element in str1 where str2 begins.
If str2 does not occur in string1 then substr() should return a NULL
 e.g. if str1 = "Ena Meena Deeka" and str2 = "Meena"
then substr() should return address of 'M' in str1
write main() that uses the function substr()

Answer:

Saturday, 19 August 2017

CBSE Class 12 - Computer Science - C++ Practical Binary File Processing Snippet-10 Copy Records (#cbseNotes)

C++ Practical
Binary File Processing Snippet-10
Copy Records 

CBSE Class 12 - Computer Science - C++ Practical Binary File Processing Snippet-10 Copy Records  (#cbseNotes)

Question: Given a binary file TELEPHON.DAT, containing records of the following class Directory

class Directory
  {
    char name[20];
    char address[30];
    char areacode[5];
    char phonenum[15];
    public:
      void register();
      void show();
      int checkcode(char AC[])
      { return strcmp(areadcpde, AC); }
   };

 Write a function COPYABC() in C++ that would copy all the records have areacode as "123" from TELEPHON.DAT to TELEBACK.DAT

Answer:

Saturday, 12 August 2017

C++ Practical Text File Processing Snippet-9 - Count A Particular Word (#cbseNotes)

C++ Practical
Text File Processing Snippet-9
Count A Particular Word 

C++ Practical Text File Processing Snippet-9 - Count A Particular Word (#cbseNotes)

Question :  Write a function in C++ to print the count of the word "is" as an independent word in a text file DIALOG.TXT
e.g. if the content of the file is:
      "This is his book. Is this book good?"
then the output of the program should be 2

Answer:

Wednesday, 2 August 2017

CBSE Class 12 - C++ Practical Class Design and Binary File Handling - Snippet-7 (#cbseNotes)

C++ Practical
Class Design and Binary File Handling Snippet-7

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-6 (#cbseNotes)

Question :  Write a program in c++ to create a binary file and write objects of class BOOK to it and display them on screen after reading from the file.

Answer:


Saturday, 29 July 2017

CBSE Class 12 - Computer Science - C++ Practical File Handling Snippet-6 (#cbseNotes)

C++ Practical
File Handling Snippet-6

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-6 (#cbseNotes)

Question :  Write a program in C++ to count number of uppercase alphabets present in a text file "ARTICLE.TXT"


Answer:

Thursday, 20 July 2017

CBSE Class 12 - Computer Science (C++ or Python) - Question Paper - Delhi (2016-17) (#cbsePapers)

CBSE Class 12 - Computer Science (C++ or Python) - Question Paper - Delhi  (2016-17)  (#cbsePapers)

CBSE Class 12 - Computer Science (C++ or Python) - Question Paper - Delhi  (2016-17) 

CBSE Delhi Computer Science Q Paper (C++ / Python)

Check the answers here.

Friday, 30 June 2017

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-5 (#cbseNotes)

C++ Practical
Class Design Snippet-5

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-5 (#cbseNotes)

Question :  Write a program to open a file in C++ "Hello.dat" and write

This is only a test
Nothing can go wrong
All things are fine

into the file. Read the file and display the contents.


Answer:

Wednesday, 21 June 2017

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-3 (#cbseNotes)

C++ Practical
Class Design Snippet-3

CBSE Class 12 - Computer Science - C++ Practical Class Design Snippet-3  (#cbseNotes)

Question : Write a Program to define the classes PERSON, GAME and STUDENT & to access the essential data using multiple inheritance?


Answer: