CS201 – Introduction to Programming: Midterm Important Subjective (36 Solved Q&As)

Computer Science • Read every solved subjective question with its model answer directly on this page. Free, no login required.

All 664 Midterm Packs · CS201 Course Page · CS201 MCQ Pack (436 MCQs)

  1. To which category of software do "Compiler and Interpreter" belong?
    Topic: Programming Basics, Design & Development Tools • 1 mark marks

    System software. Compilers and interpreters are system software, because they are programs that help in developing and running other programs.

  2. What is compiler?
    Topic: Programming Basics, Design & Development Tools • 3 marks marks

    A compiler is a program (system software) that translates a program written in a high-level language into machine language. It translates the whole source program at once and produces an object/executable file; the list of errors, if any, is displayed after scanning the complete program. Once compiled, the executable file can be run any number of times without translating again.

  3. Why do we include iostream.h in our programs?
    Topic: Programming Basics, Design & Development Tools • 1 mark marks

    Because the standard stream handling functions are stored in this file. Before using these functions in our program, it is necessary to tell the compiler about the location of these functions.

  4. Which programming tool is helpful in tracing the logical errors?
    Topic: Programming Basics, Design & Development Tools • 1 mark marks

    Debugger. A debugger is used to debug the program; it helps in tracing logical (run-time) errors by executing the program step by step and examining the values of variables.

  5. How is learning to design programs like learning to play soccer?
    Topic: Programming Basics, Design & Development Tools • 3 marks marks

    "Learning to design programs is like learning to play soccer. A player must learn to trap a ball, to dribble with a ball, to pass, and to shoot a ball. Once the player knows those basic skills, the next goals are to learn to play a position, to play certain strategies, to choose among feasible strategies, and, on occasion, to create variations of a strategy because none fits." In the same way, a programmer first learns the basic building blocks (variables, loops, functions) and then learns to combine them into designs for solving complete problems.

  6. What is the output of the following program? #include iostream.h main ( ) { int RollNo; int rollno; RollNo = 5; rollno = 8; cout << "Roll No is " << rollno; }
    Topic: Expressions, Output Prediction & Error Finding • 1 mark marks

    The program should not compile, because of the missing <> in the following statement: #include iostream.h If we ignore this error, then the output should be: Roll No is 8 (C++ is case-sensitive, so RollNo and rollno are two different variables; rollno has the value 8.)

  7. Find out the error in the code given below: if ( num % 2 = 0 ) cout << "The number is even" << endl;
    Topic: Expressions, Output Prediction & Error Finding • 2 marks marks

    In if ( num % 2 = 0 ) there should be an extra = sign; the correct statement is: if ( num % 2 == 0 ) A single = is the assignment operator, which assigns 0 to num % 2 (an error); == is the comparison operator used to test a condition.

  8. What is the result of the expression x = 2 + 3 * 4 - 4 / 2 ?
    Topic: Expressions, Output Prediction & Error Finding • 1 mark marks

    12 (Multiplication and division are performed before addition and subtraction: 3 * 4 = 12 and 4 / 2 = 2, so x = 2 + 12 - 2 = 12.)

  9. Suppose 'z' is a variable of type int. What will be the result of x = 27/4 ?
    Topic: Expressions, Output Prediction & Error Finding • 1 mark marks

    6. Both operands are integers, so integer division is performed and the fractional part is discarded (truncated): 27 / 4 = 6.75, which becomes 6.

  10. What is the difference between switch statement and if statement?
    Topic: Decision Making & Loops • 2 marks marks

    The if statement is used to select among two alternatives. It uses a boolean expression to decide which alternative should be executed. The switch statement is used to select among multiple alternatives. It uses an int expression to determine which alternative should be executed.

  11. What is the difference between while and for loop?
    Topic: Decision Making & Loops • 5 marks marks

    The for loop is used when the number of repetitions is known in advance; its initialization, condition and increment/decrement are all written in one line, e.g. for (int i = 0; i < 10; i++). The while loop is used when the number of repetitions is not known in advance and the loop continues as long as the given condition remains true; initialization is done before the loop and the increment/decrement is written inside the body. Both are entry-controlled (pre-test) loops, i.e. the condition is checked before entering the body, so the body may not execute even once if the condition is false initially.

  12. Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.
    Topic: Arrays & Two-Dimensional Arrays • 2 marks marks

    float tmp [10] = {1.0, 2.0, 3.0, 4.0}; (The remaining six elements are automatically initialized to 0.0.)

  13. Write down the output of the following code: int array[7], sum = 0; for(int i=0;i<7;i++) { array[i] = i; sum += array[i]; } cout<< " Sum = " <<sum;
    Topic: Arrays & Two-Dimensional Arrays • 3 marks marks

    Sum = 21 (The loop stores 0, 1, 2, 3, 4, 5, 6 in the array and adds them: 0+1+2+3+4+5+6 = 21.)

  14. What will be the output of the following segment of C++ code? int A[5] = {1 , 2, 3, 4}; int i; for (i=0; i<5; i++) { A[i] = 2*A[i]; cout << A[i] << " "; } (Marks: Marks not stated in the source)
    Topic: Arrays & Two-Dimensional Arrays

    2 4 6 8 0 (Only four values are given in the initialization list, so the fifth element A[4] is 0. Each element is doubled before printing: 2, 4, 6, 8, 0.)

  15. If int array[10]; is an integer array then write the statements which will store values at Fifth and Ninth location of this array.
    Topic: Arrays & Two-Dimensional Arrays • 5 marks marks

    array[4] = 200; array[8] = 300; (Array subscripts start from 0, so the fifth location is index 4 and the ninth location is index 8. Any values can be stored; the source solution uses 200 and 300.)

  16. A two-dimensional array has 3 rows and 4 columns. Write down the syntax to initialize first element of all three rows of two-dimensional array with value 2.
    Topic: Arrays & Two-Dimensional Arrays • 2 marks marks

    int arr[3][4] = {{2}, {2}, {2}}; Or, by assignment statements: arr[0][0] = 2; arr[1][0] = 2; arr[2][0] = 2; (The first element of every row is at column index 0; in the initialization-list form the remaining elements of each row become 0.)

  17. Using the given array declaration: int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; int* arr_ptr = arr; Find out the value of each of the expressions below. 1. *(arr_ptr + 4) 2. (*arr_ptr)++ 3. *(arr_ptr++)
    Topic: Pointers • 3 marks marks

    arr_ptr points to arr[0], i.e. to the value 1. Evaluating the expressions in order: 1. *(arr_ptr + 4) = 5 - the value of the 5th element, arr[4]; the pointer itself does not move. 2. (*arr_ptr)++ = 1 - the current value at arr[0] is used first (1), and afterwards the value of arr[0] is incremented to 2. The pointer does not move. 3. *(arr_ptr++) = 2 - the value currently pointed to is used (arr[0], which has become 2 after expression 2), and afterwards arr_ptr moves to the next element arr[1].

  18. Following are two programming statements; you have to write down the functionality of each statement. 1) int *const intPtr = &x ; 2) const int *intPtr = &x ;
    Topic: Pointers • 5 marks marks

    1) intPtr is a constant pointer to an integer. The pointer itself is constant, so it must be initialized at declaration and can never be made to point to another variable; however, the value stored at the address can still be changed through this pointer (*intPtr = 10; is allowed). 2) intPtr is a pointer to a constant integer. The value being pointed to cannot be changed through this pointer (*intPtr = 10; is an error), but the pointer itself is not constant, so it can be made to point to some other variable.

  19. Identify the errors in the following code segment and give the reason of errors. main(){ int x = 10 const int *ptr = &x ; *ptr = 5 ; }
    Topic: Pointers • 3 marks marks

    Error: *ptr = 5; Reason: ptr is declared as a pointer to a constant integer (const int *ptr). You cannot use this pointer to change the value being pointed to, so assigning *ptr = 5 is not allowed. (Note: as printed in the paper, the statement int x = 10 is also missing its terminating semicolon.)

  20. Give the general syntax of definition of structure.
    Topic: Structures • 1 mark marks

    struct structure_name { data_type member1; data_type member2; ... }; The keyword struct is used, followed by the structure name and its data members enclosed in braces; the definition ends with a semicolon.

  21. Consider the structure struct Customer { int custnum; int salary; float commission; }; A programmer wants to assign 2000 for the structure member salary in the above example of structure Customer with structure variable cust1. What line of code should he write?
    Topic: Structures • 2 marks marks

    cust1.salary = 2000; (The member is accessed through the structure variable cust1 using the dot operator.)

  22. Write a recursive function that takes three arguments (an integer array, starting subscript 's' and ending subscript 'e'). In first recursive call, the function should display the array from subscript 's' (s = 0) to 'e' (e = size of array). In each successive call, the function should print the array from index s+1 to e. The function should stop processing and return when starting subscript becomes equal to ending subscript. For example, if user enters values for array 2, 3, 4, 5, 6 then the recursive function must display the following output: 23456 3456 456 56 6
    Topic: Functions & Recursion • 10 marks marks

    #include <iostream.h> void PrintArray(int arrayInput[], int &s, int &e); main ( ) { int pause; int TestArray [6] = {1,2,3,4,5,6}; int StartPoint = 0; int EndPoint = 5; PrintArray(TestArray , StartPoint, EndPoint); cout<<"\n"; PrintArray(TestArray , StartPoint, EndPoint); cout<<"\n"; PrintArray(TestArray , StartPoint, EndPoint); cout<<"\n"; PrintArray(TestArray , StartPoint, EndPoint); cout<<"\n"; PrintArray(TestArray , StartPoint, EndPoint); cout<<"\n"; PrintArray(TestArray , StartPoint, EndPoint); cin >> pause; } void PrintArray(int arrayInput[], int& s, int& e) { for (int i = s; i<= e; i++) { cout<< arrayInput[i]; } s=s+1; } (s is passed by reference, so every call starts printing one element later than the previous call, producing the successive lines 123456, 23456, 3456, 456, 56, 6 for the test array.)

  23. Write a function BatsmanAvg which calculate the average of a player (Batsman). Call this function in main program (Function). Take the input of Total Runs made and Total number of matches played from the user in main function.
    Topic: Functions & Recursion • 10 marks marks

    #include <iostream.h> int BatsmanAvg(int TotalRuns, int TotalMatches) ; main() { int stopit; int TotalRuns, TotalMatchesPlayed =0; cout << "Please Enter the total Runs made : " ; cin>> TotalRuns ; cout << "Please Enter the total match played : " ; cin>> TotalMatchesPlayed ; cout << "\n Avg Runs = " << BatsmanAvg(TotalRuns,TotalMatchesPlayed); cin>> stopit; } int BatsmanAvg(int TotalRuns, int TotalMatches) { return TotalRuns/TotalMatches; }

  24. Write a void function( ); that takes integer numbers from the user and then displays the sum of odd and even numbers entered by the user. Your program should terminate if user enters a negative number.
    Topic: Functions & Recursion • 10 marks marks

    #include <iostream.h> void SumOddEven(void); main() { SumOddEven(); } void SumOddEven(void) { int num; int sumEven = 0, sumOdd = 0; cout << "Enter the numbers (negative number to stop): " << endl; cin >> num; while (num >= 0) { if (num % 2 == 0) sumEven = sumEven + num; else sumOdd = sumOdd + num; cin >> num; } cout << "Sum of even numbers = " << sumEven << endl; cout << "Sum of odd numbers = " << sumOdd << endl; } (The function returns nothing (void). Numbers are read one by one; each number is added to the even sum or the odd sum according to num % 2, and the loop stops as soon as a negative number is entered.)

  25. Write the procedure of data insertion in middle of the files by Merge Method practiced in older systems.
    Topic: File Handling • 5 marks marks

    Opened the data file and a new empty file. Started reading the data file from beginning of it. Kept on copying the read data into the new file until the location we want to insert data into is reached. Inserted (appended) new data in the new file. Skipped or jumped the data in the data file that is to be overwritten or replaced. Copied (appended) the remaining part of the file at the end of the new file.

  26. Give the syntax of opening file 'myFile.txt' with 'app' mode using ofstream variable 'out'.
    Topic: File Handling • 1 mark marks

    out.open("myfile.txt" , ios::app); (The ios::app mode opens the file for output so that all data is appended at the end of the file.)

  27. Identify any logical or syntax error in the statement below and explain the reason of the error. seekg (-10L, ios::beg);
    Topic: File Handling • 2 marks marks

    It is a logical error. ios::beg means the offset is measured from the beginning of the file, and the beginning of the file is position 0, so a negative offset (-10L) would try to move the get pointer 10 bytes before the start of the file, which is not possible. A negative offset can only be used with ios::cur (from the current position) or ios::end (from the end of the file).

  28. If you are provided two methods for accessing a file; random and sequential. Which method will you prefer and why?
    Topic: File Handling • 3 marks marks

    Random access will be preferred. In random access, any part (record) of the file can be reached directly and quickly by moving the file pointer with seekg/seekp, without reading all the data before it. In sequential access the file must be read from the beginning, in order, until the required data is found, which wastes time for large files. Random access is therefore faster and more efficient whenever a particular record has to be read, inserted or updated in the middle of a file.

  29. Find out errors in the program if any and after correction, write the output. int main() { ofstream outfile; long position; char outfilename[] = "abc.txt"; outfile.open(outfilename); if(!outfile) { cout<<"Error Occured while opening a file"; exit(1); } outfile.write("This is a car", 12); position = outfile.tellp(); outfile.seekp(position-5); outfile.write("jar", 3); outfile.close(); return 0; }
    Topic: File Handling • 5 marks marks

    Error: The program contains no #include directive at all, so the compiler does not know about the identifiers used in it - ofstream requires <fstream.h>, cout requires <iostream.h> and exit() requires <stdlib.h>. The corrected program must begin with: #include <iostream.h> #include <fstream.h> #include <stdlib.h> Output (contents of the file abc.txt after the program runs): The program prints nothing on the screen; it writes to the file. outfile.write("This is a car", 12) writes only the first 12 of the 13 characters, i.e. "This is a ca". tellp() then returns 12, so position = 12 and seekp(position - 5) moves the put pointer to position 7. Writing "jar" (3 characters) overwrites positions 7, 8 and 9. The final contents of abc.txt are: This isjarca

  30. Write a C++ program that will determine if a departmental store customer has exceeded the credit limit on a charge account. Program should input the following facts in five variables: (1) Account number (2) Balance at the beginning of month (Beginning balance) (3) Total of all items charged by customer this month (charges) (4) Total of all credits (credits) (5) Allowed credit limit. Calculate the new balance: New balance = Beginning balance + charges - credits. Determine if new balance exceeds the allowed credit limit. For those customers whose credit limit is exceeded, the program should display the message "Credit Limit exceeded."
    Topic: Complete Program Writing • 10 marks marks

    #include <iostream.h> main() { int accountNumber; float begBalance, charges, credits, creditLimit, newBalance; cout << "Enter account number: "; cin >> accountNumber; cout << "Enter balance at the beginning of the month: "; cin >> begBalance; cout << "Enter total of all items charged this month: "; cin >> charges; cout << "Enter total of all credits: "; cin >> credits; cout << "Enter allowed credit limit: "; cin >> creditLimit; newBalance = begBalance + charges - credits; cout << "New balance = " << newBalance << endl; if (newBalance > creditLimit) cout << "Credit Limit exceeded." << endl; }

  31. Write the syntax for calling a string manipulation function which compares the first 5 characters of an array "name" with the string "asdf". (Marks: 2)
    Topic: Arrays & Strings

    The strncmp() function of the string.h header file is used to compare a specified number of characters of two strings: strncmp(name, "asdf", 5); It returns 0 if the first 5 characters of both strings are equal, a negative value if the first string is smaller, and a positive value if the first string is greater.

  32. What will be the value of x after the execution of the following code segment? int x = 10; int y = 30; int *xptr = &x; x = *xptr + 10; (Marks: 2)
    Topic: Pointers

    xptr stores the address of x, so *xptr gives the value of x, which is 10. Therefore x = *xptr + 10 = 10 + 10 = 20. The final value of x is 20.

  33. Assume that you write a program to read the data from a text file. You have two options to do it: either reading the data character by character or reading multiple lines of data at a time. Which option do you think is more better and why? (Marks: 3)
    Topic: File Handling

    Reading multiple lines of data at a time is better. Reading character by character requires a separate read operation for every single character, which creates a large overhead and makes the program slow, especially for big files. Reading a bigger block (multiple lines) in one operation reduces the number of read calls, so the data is processed faster and more efficiently.

  34. Consider that an integer pointer xptr contains the memory address 0x22ff50. Now if the statement xptr += 4; is executed, how many bytes will the pointer xptr jump in memory and what will be the new address of xptr? (Marks: 3)
    Topic: Pointers

    Pointer arithmetic moves in steps of the size of the pointed data type. An integer occupies 4 bytes, so adding 4 to an integer pointer moves it forward by 4 x 4 = 16 bytes. New address = 0x22ff50 + 16 (0x10) = 0x22ff60.

  35. Write a program which takes a string from the user and searches it within another string "This is my Pakistan". For example, if the user enters the string "my" then after search, the program should display the message "String found"; otherwise it should display the message "string not found". (Marks: 5)
    Topic: Arrays & Strings

    #include <iostream> #include <string.h> using namespace std; int main() { char text[] = "This is my Pakistan"; char search[30]; cout << "Enter the string to search: "; cin >> search; if (strstr(text, search) != NULL) cout << "String found"; else cout << "string not found"; return 0; } The strstr() function searches the user-entered string inside the text and returns a pointer to its first occurrence, or NULL if it is not present.

  36. Detect and correct the compile time error(s) in the following code. (Hint: The following code prints numbers from 1 to 100.) void main() { int counter; float *ptr; for (counter = 1; counter <= 100; counter++) { ptr = counter; cout << ptr << " "; } getch(); return 0; } (Marks: 5)
    Topic: Loops

    There are two compile-time errors: 1. ptr = counter; assigns an integer value to a float pointer. An integer cannot be assigned to a pointer variable (type mismatch). Moreover, cout << ptr would print a memory address, not the number. 2. return 0; is used inside void main(). A void function cannot return a value; main should be declared as int main(). Corrected code: int main() { int counter; for (counter = 1; counter <= 100; counter++) { cout << counter << " "; } getch(); return 0; }

MIHORA VU – Virtual University Assignment Solutions 2026, Solved Past Papers & All 455+ Courses

Official MIHORA TECH academic repository offering 28,328+ verified study documents for all 455+ Virtual University of Pakistan courses. Access VU Assignment Solution 2026 (Latest Session), Moaaz & Waqar Siddhu solved midterm & final papers, lecture handouts, and quizzes with 100% direct high-speed links.

SPRING 2026 / FALL 2026 ACTIVE SESSION

VU Assignment Solution 2026 (Latest Solved Assignments, GDBs & Quizzes)

Get high-scoring solutions for Assignment 1, Assignment 2, and Graded Discussion Boards across Computer Science, Mathematics, Management, English, and Economics. Compliant with Turnitin similarity limits (< 19%) and official 24-hour grace periods.

Open VU Assignment Solution 2026 Hub →

Popular Virtual University Courses (2026 Solved Papers & Solutions):

CS101 – Introduction to Computing CS201 – Introduction to Programming CS301 – Data Structures CS302 – Digital Logic Design CS401 – Computer Architecture & Assembly Language CS402 – Theory of Automata CS403 – Database Management Systems CS501 – Advance Computer Architecture CS502 – Fundamentals of Algorithms CS504 – Software Engineering - I CS506 – Enterprise Application Development CS601 – Data Communication CS602 – Computer Graphics CS604 – Operating Systems CS605 – Software Engineering - II CS607 – Artificial Intelligence CS610 – Computer Networks CS619 – Final Year Project MTH101 – Calculus & Analytical Geometry MTH202 – Discrete Mathematics MTH301 – Calculus II (Multivariable Calculus) MTH302 – Business Mathematics & Statistics MTH501 – Linear Algebra ENG101 – English Comprehension ENG201 – Business and Technical English Writing MGT101 – Financial Accounting MGT211 – Introduction to Business MGT301 – Principles of Marketing MGT501 – Human Resource Management ACC311 – Fundamentals of Auditing ACC501 – Business Finance STA301 – Statistics and Probability ECO401 – Economics (Micro & Macro) ISL202 – Islamic Studies / Ethics PAK301 – Pakistan Studies PHY101 – Physics - Mechanics & Waves

Complete Directory of All 455 Virtual University Courses & Codes

Browse the complete curriculum of all 455 accredited courses across 27 faculties of Virtual University of Pakistan. Every course includes verified lecture handouts, Moaaz & Waqar Siddhu solved papers, and 2026 assignment solution templates.

Accounting & Finance (16 Courses)

ACC301 – Financial Accounting ACC311 – Fundamentals of Auditing ACC501 – Business Finance BNK601 – Banking Laws & Practices BNK603 – Consumer Banking BNK604 – Commercial Banking BNK610 – Credit & Risk Management in Banking EFIN623 – Economics of Financial Markets FIN611 – Advanced Financial Accounting FIN621 – Financial Statement Analysis FIN622 – Corporate Finance FIN623 – Taxation Management FIN624 – Islamic Banking & Finance FIN625 – Credit & Risk Management FIN630 – Investment Analysis & Portfolio Management FIN722 – Advanced Corporate Finance

Bioinformatics (7 Courses)

BIF101 – Basic Bioinformatics BIF401 – Introduction to Bioinformatics BIF402 – Computational Biology Methods BIF501 – Genomics & Proteomics BIF601 – Bioinformatics Algorithms BIF602 – Structural Bioinformatics BIF604 – Systems Biology

Biological Sciences (16 Courses)

BIO101 – Basic Biology BIO102 – Introductory Biology & Diversity BIO201 – Cell Biology BIO202 – Biochemistry BIO203 – General Genetics BIO204 – Biochemical Techniques BIO301 – Molecular Biology BIO302 – Animal Physiology BIO303 – Developmental Biology BIO401 – Ecology & Evolutionary Biology BIO502 – Immunology & Pathology BIO503 – Pharmacology & Toxicology BIO504 – Applied Microbiology BIO505 – Environmental Biotechnology BIO506 – Forensic Biology BIO731 – Advanced Molecular Genetics

Virtual University of Pakistan (43 Courses)

BNK611 – Economic Ideology in Islam BT613T – Agricultural Biotechnology CS306 – Introduction to Python CS441 – Big Data Concepts CS442 – Introduction to Data Science CS620 – Modeling & Simulation CS701 – Theory of Computation CS703 – Operating Systems CS704 – Advanced Computer Architecture ECO302 – Microeconomics EDU407 – EDU407 ENG401 – Introduction to Literature: Short Story and Poetry GSC201 – Teaching of General Science MCM516 – TV News Reporting and Production MGMT611 – Human Relations MGMT629 – Crisis Management MGT201 – Financial Management MGT401 – Financial Accounting II MGT404 – MGT404 MGT504 – Organization Theory & Design MGT520 – International Business MGT522 – MGT522 MGT601 – SME Management MGT603 – Strategic Management MGT613 – Production and Operations Management MGT703 – Strategic Management MGT705 – Advanced Cost and Management Accounting MGT713 – Production / Operations Management MTH102 – Basic Algebra and Trigonometry MTH201 – Multivariable Calculus MTH304 – Mechanics MTH403 – MTH403 MTH404 – MTH404 MTH405 – MTH405 MTH621 – Real Analysis I MTH633 – Group Theory MTH642 – Fluid Mechanics MTH643 – MTH643 PAK303 – PAK303 PSC401 – Public International Law PSY409 – Positive Psychology SE601 – Software Construction & Development SE602 – Software Re—engineering

Bio-Technology (34 Courses)

BT101 – Ecology, Biodiversity & Evolution BT102 – Microbiology BT201 – Biotechnology Fundamentals BT301 – Recombinant DNA Technology BT302 – Cell and Tissue Culture BT401 – Genetic Engineering BT402 – Fermentation Technology BT403 – Agricultural Biotechnology BT404 – Medical Biotechnology BT405 – Industrial Biotechnology BT406 – Nanobiotechnology BT501 – Biochemical Engineering BT502 – Biosafety & Bioethics BT503 – Molecular Diagnostics BT504 – Stem Cell Technology BT505 – Food Biotechnology BT511 – Vaccine Technology BT512 – Drug Design & Development BT513 – Genomics & Functional Proteomics BT514 – Enzyme Technology BT601 – Advanced Genetic Engineering BT602 – Bioinformatics in Biotechnology BT603 – Bioprocess Engineering BT604 – Aquatic Biotechnology BT605 – Environmental Bioremediation BT611 – Synthetic Biology BT612 – Metabolic Engineering BT613 – Biofuels and Bioenergy BT614 – Clinical Research in Biotechnology BT693 – Research Project in Biotechnology BT732 – Advanced Molecular Biology Seminar BT734 – Advanced Cellular Biotechnology BT735 – Current Topics in Biotechnology NTBT301 – Nanotechnology in Biotechnology

Chemistry (2 Courses)

CHE201 – General Chemistry CHE301 – Organic Chemistry

Computer Science (55 Courses)

CS000 – Introduction to Computer Fundamentals CS001 – Computer Proficiency License CS101 – Introduction to Computing CS201 – Introduction to Programming CS202 – Web Design & Development CS204 – Cyber Law & Intellectual Property CS205 – Information Security Management CS206 – Ethical Hacking & Defense CS301 – Data Structures CS302 – Digital Logic Design CS304 – Object Oriented Programming CS310 – Introduction to Programming (Python) CS311 – Introduction to Web Services Development CS312 – Mobile Application Development CS314 – Embedded Systems & IoT CS315 – Web Engineering CS401 – Computer Architecture & Assembly Language CS402 – Theory of Automata CS403 – Database Management Systems CS405 – Mobile Computing CS407 – Cloud Computing Fundamentals CS408 – Human Computer Interaction CS409 – Ethical & Legal Issues in Computing CS410 – Design & Analysis of Algorithms CS411 – Visual Programming CS420 – Game Design and Development CS432 – Network Security CS435 – Cloud Computing Infrastructure CS501 – Advance Computer Architecture CS502 – Fundamentals of Algorithms CS505 – Agile Software Development CS506 – Enterprise Application Development CS507 – Information Systems CS508 – Modern Programming Languages CS510 – Compiler Construction CS511 – Distributed Systems CS521 – Data Science Principles CS601 – Data Communication CS602 – Computer Graphics CS603 – Software Architecture CS604 – Operating Systems CS606 – Compiler Design & Construction CS607 – Artificial Intelligence CS608 – Digital Signal Processing CS609 – System Programming CS610 – Computer Networks CS614 – Data Warehousing CS619 – Final Year Project CS621 – Information Retrieval Techniques CS625 – Formal Methods in Software Engineering CS627 – Computer Vision & Pattern Recognition CS636 – Big Data Analytics CS708 – Advanced Computer Graphics CS713 – Advanced Software Architecture CS718 – Advanced Artificial Intelligence

Software Engineering (4 Courses)

CS504 – Software Engineering - I CS605 – Software Engineering - II CS611 – Software Quality Assurance CS615 – Software Project Management

Statistics (18 Courses)

DSTA630 – Data Science Research Methods STA000 – Basic Statistics Fundamentals STA100 – Foundations of Statistics STA301 – Statistics and Probability STA304 – Statistical Inference STA404 – Experimental Design STA406 – Sampling Techniques STA408 – Biostatistics and Epidemiology STA630 – Research Methods in Social Sciences STA631 – Advanced Statistical Methods STA632 – Multivariate Analysis STA641 – Non-Parametric Methods STA642 – Econometric Models STA730 – Advanced Research Methodology in Statistics STAT100 – Statistics Fundamentals STAT404 – Applied Statistical Modeling STAT408 – Statistical Computing STAT730 – Advanced Biostatistics

Education (44 Courses)

ECE101 – Introduction to Early Childhood Care & Education EDU101 – Foundations of Education EDU201 – Learning Theories & Applications EDU205 – Classroom Management EDU301 – General Methods of Teaching EDU302 – Human Development & Learning EDU303 – School, Community and Teacher EDU304 – Educational Assessment & Evaluation EDU305 – Curriculum Development & Instruction EDU306 – Contemporary Trends in Education EDU401 – Critical Thinking and Reflective Practices EDU402 – Educational Leadership & Management EDU403 – Art, Craft & Calligraphy in Education EDU404 – Teaching of English EDU405 – Teaching of Mathematics EDU406 – Teaching of General Science EDU410 – ICT in Education EDU411 – Teaching of Social Studies EDU430 – Information & Communication Technology in Teaching EDU431 – Test Development & Measurement EDU433 – Educational Statistics EDU501 – Educational Psychology EDU505 – Guidance and Counseling in Schools EDU510 – Qualitative Research in Education EDU512 – Comparative Education EDU514 – Special Education Principles EDU515 – Early Childhood Education Curriculum EDU516 – Educational Technology & Media EDU601 – Philosophy of Education EDU602 – Educational Planning and Policy EDU604 – Educational Administration & Supervision EDU630 – Research Methods in Education EDU654 – Teacher Education in Pakistan EDU702 – Advanced Seminar in Educational Leadership EDU705 – Advanced Educational Policy Analysis EDUA305 – Applied Curriculum Development EDUA403 – Elementary Arts Education EDUA405 – Pedagogy of Mathematics EDUA516 – Educational Media Design EDUA630 – Action Research in Educational Settings MEDU402 – Master Level Educational Leadership MEDU406 – Science Teaching Pedagogies MEDU430 – Advanced ICT in Education MEDU601 – Advanced Philosophy of Education

Economics (11 Courses)

ECO401 – Economics (Micro & Macro) ECO402 – Microeconomics Analysis ECO403 – Macroeconomics Analysis ECO404 – Managerial Economics ECO406 – Development Economics ECO501 – Monetary Economics ECO601 – International Economics ECO603 – Public Sector Economics ECO606 – Agricultural Economics ECO607 – Environmental & Resource Economics ECO610 – Econometrics Principles

Management Sciences (26 Courses)

EMG525 – Engineering Project Management MGMT614 – Leadership & Team Building MGMT615 – Project Management Practices MGMT617 – Project Management Methodologies MGMT622 – Operations Management MGMT623 – Supply Chain Management MGMT625 – Knowledge Management Systems MGMT627 – Global Business Strategy MGMT628 – Strategic Management MGMT630 – Business Strategy & Policy MGMT631 – Innovation Management MGT101 – Financial Accounting MGT111 – Introduction to Public Administration MGT211 – Introduction to Business MGT301 – Principles of Marketing MGT402 – Cost & Management Accounting MGT411 – Money & Banking MGT501 – Human Resource Management MGT502 – Organizational Behaviour MGT503 – Principles of Management MGT510 – Total Quality Management MGT602 – Entrepreneurship MGT604 – Management of Financial Institutions MGT610 – Business Ethics & Corporate Governance MGT611 – Business & Labor Law MGTE630 – Business Management Strategy

English (34 Courses)

ENG001 – Basic English Grammar & Composition ENG101 – English Comprehension ENG201 – Business and Technical English Writing ENG301 – Business Communication ENG501 – History of English Language ENG502 – Introduction to Linguistics ENG503 – English Morphology and Syntax ENG504 – Sociolinguistics ENG505 – Phonetics & Phonology ENG506 – World Englishes ENG507 – Psycholinguistics ENG508 – Semantics & Pragmatics ENG509 – English for Specific Purposes (ESP) ENG510 – Language Testing & Evaluation ENG511 – Syllabus Design & Materials Development ENG512 – Stylistics & Literary Analysis ENG513 – Second Language Acquisition (SLA) ENG514 – Classical Poetry ENG515 – Classical Drama ENG516 – Research Methodology in Linguistics ENG517 – Modern Poetry ENG518 – Modern Drama ENG519 – Classical Novel ENG520 – Modern Novel ENG521 – American Literature ENG522 – Postcolonial Literature ENG523 – Continental Literature & Criticism ENG524 – Literary Criticism & Theory ENG525 – Discourse Analysis ENG526 – Applied Linguistics in Education ENG527 – Creative Writing & Composition ENG528 – Corpus Linguistics ENG529 – Translation Studies & Theory FENG301 – Functional English for Professionals

Islamic Studies (4 Courses)

ETH100 – Ethics (For Non-Muslim Students) ETH201 – Ethics & Moral Philosophy (For Non-Muslims) ISL201 – Islamic Studies ISL202 – Islamic Studies / Ethics

General Guides (1 Courses)

GENERAL – General University Resources, Guides & Handbooks

General Sciences (1 Courses)

GSC101 – General Science

Human Resources (4 Courses)

HRM613 – Human Resource Development HRM617 – Compensation & Benefits Management HRM624 – Conflict & Negotiation Management HRM627 – Strategic Human Resource Management

Information Technology (4 Courses)

IT430 – E-Commerce & Digital Business IT601 – Network Administration IT602 – Database Administration ITU430 – E-Commerce Systems

Microbiology (4 Courses)

MB501 – General Microbiology & Microbial Diversity MB502 – Microbial Physiology & Metabolism MB504 – Medical Microbiology MIC501 – Applied Microbiology

Mass Communication (22 Courses)

MCD401 – Media Content Development MCD403 – Media Ethics & Professional Standards MCM000 – Introduction to Communication Fundamentals MCM101 – Introduction to Mass Communication MCM301 – Communication Skills MCM304 – Mass Media in Pakistan MCM310 – Radio Broadcasting & Audio Media MCM311 – Radio & Television Production MCM401 – Fundamentals of Public Relations MCM404 – Electronic Media Content Creation MCM411 – News Writing and Reporting MCM431 – Digital Media & Online Journalism MCM501 – Development Support Communication MCM511 – Media Ethics, Cyber Laws & Regulation MCM514 – Feature, Column & Editorial Writing MCM517 – Advertising Strategy & Campaigns MCM520 – Print Media Design & Layout MCM531 – International & Cross-Cultural Communication MCM601 – Theories of Mass Communication MCM604 – Communication Research Methodology MCM610 – Cyber Journalism & Web Publishing MCMP310 – Radio & Audio Production Practical

Marketing (5 Courses)

MKT501 – Marketing Management MKT530 – Consumer Behaviour MKT610 – Customer Relationship Management (CRM) MKT621 – Advertising & Brand Management MKT630 – International Marketing Strategy

Mathematics (20 Courses)

MTH001 – Elementary Mathematics MTH100 – General Mathematics MTH101 – Calculus & Analytical Geometry MTH104 – Sets & Logic MTH202 – Discrete Mathematics MTH301 – Calculus II (Multivariable Calculus) MTH302 – Business Mathematics & Statistics MTH401 – Differential Equations MTH501 – Linear Algebra MTH601 – Operations Research MTH603 – Numerical Analysis MTH622 – Vector & Tensor Analysis MTH631 – Real Analysis MTH632 – Complex Analysis MTH634 – Topology MTH641 – Functional Analysis MTH644 – Mathematical Methods MTH645 – Mechanics MTH646 – Differential Geometry MTH647 – Fluid Mechanics

Social Studies (3 Courses)

PAK301 – Pakistan Studies PAK302 – History of Pakistan PAK522 – Ideology & Constitution of Pakistan

Physics (3 Courses)

PHY000 – Foundational Physics PHY101 – Physics - Mechanics & Waves PHY301 – Circuit Theory

Psychology (23 Courses)

PSY101 – General Psychology PSY401 – Clinical Psychology Fundamentals PSY402 – Social Psychology PSY403 – Developmental Psychology PSY404 – Abnormal Psychology PSY405 – Personality Theories & Assessment PSY406 – Educational Psychology Applications PSY407 – Experimental Psychology & Lab Methods PSY408 – Health Psychology PSY502 – History and Systems of Psychology PSY504 – Cognitive Psychology PSY505 – Psychological Testing & Measurement PSY510 – Positive Psychology & Well-being PSY511 – Counseling Psychology Principles PSY512 – Organizational & Industrial Psychology PSY513 – Neuropsychology Fundamentals PSY515 – Forensic & Criminal Psychology PSY516 – Cross-Cultural Psychology PSY610 – Neurological Basis of Behavior PSY611 – Psychopathology & Diagnostics PSY631 – Psychological Assessment Practicum PSY632 – Research Methods in Psychology PSYP631 – Psychological Assessment Lab Practical

Sociology (14 Courses)

SOC101 – Introduction to Sociology SOC201 – Pakistani Society and Culture SOC301 – Social Psychology & Society SOC302 – Cultural Anthropology SOC401 – Social Research Methods SOC402 – Classical Sociological Theories SOC403 – Social Change & Modernization SOC404 – Urban Sociology SOC601 – Rural Sociology & Community Development SOC602 – Gender Studies & Society SOC605 – Criminology & Juvenile Delinquency SOC608 – Sociology of Development SOC609 – Sociology of Health & Medicine SOC610 – Demography & Population Dynamics

Urdu Literature (2 Courses)

URD101 – Functional Urdu (Urdu Zaban-o-Adab) URDU101 – Urdu Language & Literature

Zoology (35 Courses)

ZOO101 – Principles of Animal Life I ZOO102 – Principles of Animal Life II ZOO103 – Animal Diversity: Invertebrates ZOO111 – Fundamentals of Zoology ZOO201 – Animal Diversity: Chordates ZOO202 – Animal Form & Function I ZOO203 – Animal Form & Function II ZOO301 – Animal Physiology ZOO302 – Cell & Molecular Biology in Zoology ZOO307 – Principles of Ecology ZOO401 – Evolution & Principles of Systematics ZOO403 – Animal Behavior & Sociobiology ZOO404 – Biostatistics for Zoologists ZOO405 – General Developmental Biology ZOO501 – Developmental Biology ZOO502 – Environmental Biology ZOO503 – Biostatistics in Zoological Research ZOO504 – Zoogeography & Paleontology ZOO505 – Wildlife of Pakistan & Conservation ZOO506 – Endocrinology ZOO507 – Animal Diversity & Behavior ZOO509 – Fish Biology & Fisheries Science ZOO510 – General Microbiology & Immunology ZOO511 – Immunology & Serology ZOO512 – Parasitology & Vectors ZOO513 – Applied Entomology ZOO514 – Biochemistry of Animals ZOO515 – Genetics & Population Biology ZOO516 – Aquaculture & Fisheries Management ZOO517 – Toxicology & Environmental Health ZOO518 – Comparative Vertebrate Anatomy ZOO519 – Mammalogy ZOO520 – Ornithology (Bird Biology) ZOO603 – Applied Parasitology & Vector Biology ZOO630 – Research Methodology in Zoology

Core Student Calculators & Rules Handbooks

Frequently Asked Questions – MIHORA VU Study Library

Where can I download VU Assignment Solution 2026 for CS101, CS201, MTH101, and all subjects?

MIHORA VU (https://study.mihora.tech/vu-assignment-solution-2026) offers verified 2026 assignment solutions, GDB answers, quiz files, and Dev-C++ code templates for all 455 Virtual University courses with 100% free direct downloads.

What is the 24-hour assignment grace period in Virtual University?

Virtual University gives students an automatic 24-hour grace period after the official assignment deadline. Submissions during this grace window are awarded full credit with 0 marks deduction.

How to avoid zero marks in VU assignments due to Turnitin plagiarism?

Never copy-paste solutions directly from YouTube or public groups. Keep Turnitin similarity under 19% by renaming code variables, rearranging logical statements, and writing custom explanations.

Where can I get Moaaz and Waqar Siddhu solved midterm and final past papers?

MIHORA VU hosts over 28,328 verified documents including complete Moaaz and Waqar Siddhu past paper collections for all 455 VU subjects, available via direct download without registration.

What is the 20% Two-Half passing rule in Virtual University?

Students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterms) AND independently at least 20% in the Final Term exam paper to pass any course.