- Type
- Midterm past paper
- Course
- CS410 Visual Programming
- Size
- PDF 880 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 58. Download the file for all 58 pages.
1 - Choose Command line user interface
- MS DOS
- MS Windows
- MS Word
- MS Visio
2 - C language is an extensible language.
- TRUE
- FALSE
3. 4.
3 - Window Operating System Do not give us
- Direct memory access
- Direct access video ports
- Direct memory interrupt
- All of the given
5 - Name of Two dimensional array is the address of _________
- First Column
- First Row
- Last Row
- Last Column
6 - *(a+i) can also be written as ________________
- a[i]
- a[i+1]
- *a
- *a+1
7 - char (*ptrString)[4][2]; How many bytes will be skipped by the statement ptrString += 2?
1. 2. 3. 4.
8 - What is a function pointer?
- A pointer that passes as an argument to the function
- A pointer that is declared inside the function
- A pointer that points to the starting address of the function
- A pointer that takes return value of some other function
10 - How many bytes will be allocated to abc; Union person{ Char name[30]; Int age; Float height; }; void main(){ person abc; }
1. 2. 3. 4.
11 - We can display symbolic constants instead of numeric values using:
- Structures
- Enumeration
- Unions
- Typedef
12 - Union Person { char name[30]; //30 bytes int age; float height; }; How many bytes will skip after executing ptr = ptr +1. Union Person abc, *ptr; Ptr = &abc; ptr = ptr +1;
- 30 bytes will skip after executing ptr = ptr +1
- 31 bytes will skip after executing ptr = ptr +1.
- 32 bytes will skip after executing ptr = ptr +1.
- 38 bytes will skip after executing ptr = ptr +1.
13 - -------------macro expands to the constant 1, to signify that this compiler conforms to ISO Standard C
- __STDC__
- __STDC_VERSION__
- __STDC_HOSTED__
- None of the given
14 - Preprocessor directive starts with _________ symbol.
- #
- &
- *
- %
15 - ___________ is used to check the predefined identifiers.
- #include
- #ifdef
- #def
- #elif
17 - Identifier is not replaced if it appears
- In a comment
- With in a string
- As a part of a long identifier
- All of given
18 - ____________ is/are type(s) of macro
- Object-like macro
- Function-like macro
- Both of the Given
- None of the given
20 - We can undefine already defined preprocessor directive using
- #undef
- #unifdef
- #unenddef
- None of given
21 - Specific memory areas where parameters are copied are ______________
- Stacks
- Arrays
Related CS410 files
All CS410 files →- CS410 Midterm Subjective by Faisal Midterm PDF 706 KB
- CS410 Midterm Solved Subjective with References Midterm PDF 654 KB
- CS410 Midterm Past Papers by Faisal Midterm PDF 751 KB
- CS410 Midterm MCQs by M Zahid Adnan Midterm PDF 588 KB
- CS410 Official Handouts Official handout PDF 5.1 MB Free
- CS410 Slides Lectures 1-30 Quiz RAR 11.4 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.