Smartindia Classroom
CONTENTS
English
Mathematics
Computer science
Physics
Chemistry
Back to home
Start Practice
Question-1
What is the correct code line to store the address of x into pointer variable p?
(A)
P=*x;
(B)
P=x*;
(C)
P=&x;
(D)
P*=x;
Question-2
Which memory region is known as the free store memory?
(A)
Stack memory
(B)
Heap memory
(C)
Pointers
(D)
Global variables
Question-3
What is the mode of calling a function by giving copy of actual to formal parameters?
(A)
Function call
(B)
Call by value
(C)
Call by reference
(D)
Indirect call
Question-4
Which of the following is not a region of memory generated after compilation?
(A)
stack
(B)
heap
(C)
global variables
(D)
literals
Question-5
Which of the following operator is used for creating an alias of a variable?
(A)
*
(B)
&
(C)
::
(D)
++
Question-6
Which of the following is a way to implement call by reference?
(A)
Passing parameters
(B)
Passing variables
(C)
Passing pointers
(D)
Passing function calls
Question-7
Which method is used to allocate memory at compilation time?
(A)
Static memory allocation
(B)
Dynamic memory allocation
(C)
Run time memory allocation
(D)
None of these
Question-8
Which of the following will return address of a variable?
(A)
Float *a(int &a. int &b){ }
(B)
Float a(int & a.int &b){ }
(C)
Float a*(int a,int b){ }
(D)
Float a*(int a.int b){ }
Question-9
Which is the ‘value at address’ operator?
(A)
*
(B)
&
(C)
;
(D)
++
Question-10
What is a string?
(A)
Primitive Data type
(B)
Array of characters
(C)
Array of words
(D)
Represents data type
Your Score 0/10
Click
here
to see your answersheet and detailed track records.
Plus 2 Computer Science
Kerala (English Medium)
Practice in Related Chapters
Review of Programming Fundamentals in VB
Introduction to Visual Basic
Building Visual Basic Applications
Elements of Visual Basic Programming
DATABASE PROGRAMMING IN VB
ARRAYS AND PROCEDURES
Introduction to visual basic (Tools)
DATA COMMUNICATION
Concepts of DBMS
Structured Query Language
Object-Oriented Programming
Structures
Constructor and Destructor
Pointers
Classes and Objects
Files in C++
System Analysis and Design
Concepts of DBMS
Function Overloading and Inheritance
Structures and Pointers
Concepts and Object Oriented Programming
Data Structures and Operations
Web Technology
Web Designing Using HTML
Client Side Scripting Using JavaScript
Web Hosting
Database Management System
Server Side Scripting Using PHP
Advances in Computing
Powered By