Skip to content
VUBuddy

CS201 Quiz 2 by Iqra Azhar

Introduction to Programming PDF 544 KBUpdated 23 Oct 2026
Quiz CS201 Quiz 2 by Iqra Azhar PDF 544 KB
vubuddy.com
Type
Quiz
Course
CS201 Introduction to Programming
Size
PDF 544 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 544 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 8. Download the file for all 8 pages.

'\0' takes ________ space in the memory. single byte,

A ________is an array of characters that can store number of character specified. string har **argv can be read as__________________. char **argv can be read as a pointer to a pointer to a character

Dereferencing operator is represented by _______. asterisk symbol (*).

While handling files, one can have _____________ options All of option

When an identifier is declared with the const keyword, it means that the identifier represents a constant,

Given a two dimensional array of integers, what would be the correct way of assigning the value 6 to the element at third row and fourth column?

array[2][3] = 6;

Pointer points to a particular___________. A pointer in programming points to a particular memory address. Transpose of a matrix means that when we interchange rows and columns_____________

the first row becomes the Last column the first column becomes the second column the first row becomes the first column the Last row becomes the first column the first row becomes the first column

The value of a pointer can be __________. The value of a pointer can be an address in memory eof is used to check for the _________ of file when a file is being read. end

We can read, write and manipulate the same file using _______ To read, write, and manipulate the same file in a program, you typically use a file handle or file object.

Following is an array of ________ rows and ________ columns. int num[3][4]; Following is an array of 3 rows and 4 columns.

The increment of a pointer depends on its___________. The increment of a pointer depends on the type of data it is pointing to

______________ returns true if c is a letter and false otherwise.

int is digit( int c ) int is digit( int c int is a num( int c ) int is alpha( int c ) int isalpha(int c) Whenever some number is added in an array name, it will jump as many _____________as the added number. Column row bite memory

Whenever some number is added to an array name, it will jump as many bytes as the added number. For the following statement, how much memory will be allocated to myarray[0]?

char * myarray[] = {" Arif", " Sadia"}; either 4 or 8 bytes.

Following is the declaration of a __________ array. int arr[2][2][2];

3-Dimensional 1-Dimensional None of the given 2-Dimensional 3-Dimensional array.

What will be the output of the following code snippet?

char dest[50] = " Using strncat function,"; char src[50] = " this part is added and this is ignored";

All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.