# CBSE Class 11 Computer Pointers Worksheet

CBSE Class 11 Computer Worksheet - Pointers

Worksheets have become an integral part of the education system. Worksheets are very critical for every student to practice his/ her concepts. Students, teachers and parents can download all CBSE educational material and extremely well prepared worksheets from this website. All revision worksheets, Sample papers, Question banks and easy to learn study notes for all classes and subjects have been prepared based on the latest guidelines sent by CBSE. All CBSE educational material is developed by our panel of teachers, have also been submitted by thousands of teachers and students. The study material has been carefully compiled by the best teachers in India. Worksheets have been submitted by teachers of various CBSE schools and also have been carefully developed keeping into consideration the latest CBSE syllabus.

Pointers

1. What is the difference between static and dynamic allocation of memory. Explain with example.

2. Illustrate the use of this pointer with an example.

3. Differentiate between new and delete operators.

4. Explain self referential structures with example.

5. Differentiate between the following statements :

(i) int *ptr=new int(5); and int *ptr=new int[5];

6. Explain the relationship between arrays and pointers.

7. Predict the output of the following program :

(i) #include<iostream.h>

void main()

{

intmyarr[]={5,10,15,20,25};

int *p;

for(p=&myarr[0];p<=&myarr[4];p++)

cout<<*p<<endl;

}

(ii) #include<iostream.h>

#include<ctype.h>

#include<string.h>

voidnewtext(char string[],int&pos)

{

char *p=string;

intlen=strlen(string);

for(;pos<len-2;pos+=2,p++)

{

*(p+pos)=toupper(*(p+pos));

}

}

void main()

{

intloc=0;

char Message[]=”What a Show”;

newtext(Message,loc);

cout<<Message<<’#’<<loc;

}

PROGRAMS

(Do all programs using pointers only)

(1) WAP to check whether a string is a palindrome or not.

(2) Write a menu driven program to swap two numbers using Call by Value, Call by reference

and pointers.

(3) WAP that has a user defined function taking a string as an argument and finding the length

ofthe passed string.

Please click the below link to access CBSE Class 11 Computer Worksheet - Pointers

## Tags:

Click to View or Download pdf file
Click for more Computer Science Study Material

## Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

### Role of Word Limit in Written CBSE Examination

The intend of this article is to let us know the significance of writing within the prescribed word limit while attempting the CBSE Board Examination. Every single question in the board examination has a pre-specified word limit and every student needs to understand...

### Mathematical Literacy Free Practice Book for Students

With a larger goal to promote 21st century skills such as critical thinking and problem solving, the Central Board of Secondary Education has shared a Mathematical Literacy: Practice Book for Students. This Work Book is designed to allow learners of classes 7th to 10th...

### What to do Post Receipt of Question Paper in the Board Examination

The intend of this article is to guide the students about the course of action they should follow once they receive the CBSE question papers in the school as well as board examination centre. Before initiating the examination there are few key aspects which the...

### Five Tips for Brisk and Effective Revision for School and Board Examinations

The intend of this article is to present before you the 5 most efficient tips to facilitate the students to revise the entire course for the Annual School and Board Examination.  We are moving towards the upcoming examinations, almost all the academic institutions of...

### Aryabhata Ganit Challenge 2020

Aryabhata Ganit Challenge (AGC) has been initiated by the CBSE Board to enhance mathematical abilities among students in the year 2019. In order to reach out to maximum students across the country, the Board will host the Aryabhata Ganit Challenge on DIKSHA platform...

### Gandhiji Quiz by CBSE

CBSE has launched a Quiz on Mahatma Gandhi. The quiz portal can be accessed on Discover Gandhi portal at: https://discovergandhi.in/ DIKSHA platform (https://diksha.gov.in) and the Discover Gandhi mobile App which can be easily downloaded from Google Play Store on...

×