Skip to content
VUBuddy

CS201P Quiz 7

Introduction to Programming (Practical) PDF 102 KBUpdated 23 Oct 2026
Quiz CS201P Quiz 7 PDF 102 KB
vubuddy.com
Type
Quiz
Course
CS201P Introduction to Programming (Practical)
Size
PDF 102 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 102 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 of 4. Download the file for all 4 pages.

  1. In bit manipulation of binary system , if we shift a bit towards right then it means we are --------- that binary value with “2”

Dividing

  1. The bit manipulation operator ----------- is used to set a specific bit.
  2. In C++ default visibility of structure is--------- Private
  3. In C++ when accessing files randomly, which function is used to get current pointer position inside a file. Tellg()

Q6. Which of the following statement is true regarding structures?

Variables which are part of a structure are called data members.

  1. In C++ -------- function is used to write a character into a file while --------- is used to get a character from a file.

Putc(), getc()

  1. What will be the output of the following code? Struct student{

Int age; Float cgpa; Char name[20];

Int main()

Student s={21,3.56,”zaman”}; Cout<<sizeof(s);

  1. The bit manipulation operation ------- is used to check whether a specific bit is set or not.
All CS201P files →
CS201P Introduction to Programming (Practical) All CS201P 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.