about 2 MCQs were new other past sy thy
File bhaij rha hoon MCQs k liay
All in 1 file hy sab Past papers ki aour quizes ki
Todays paper
#include <iostream> #include <fstream>
Int main() { Char a = '-', b; Do { If (iskeyboardpressed()) { B = std::cin.get(); Std::cout b std::endl; } Std::ifstream f("test.txt", std::ifstream::in); If (f.good() && a != f.peek()) { A = f.get(); Std::cout a std::endl; } F.close(); } while (a!='x' && b!='x'); Return 0; }
using System; class Program { static void Main() { while (true) // Loop indefinitely
{ Console.WriteLine("Enter input:"); // Prompt string line = Console.ReadLine(); // Get string from user if (line == "exit") // Check string { break; } // Write the string to a file. { System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\student.txt"); file.WriteLine(lines); } file.Close();
or msqs old papers main aai thy
Cs411 mid current paper
1)Which statement is used to enumerate each value repeatedly
2)Name the Properties Supported by Scale Transform, write their default values?
3)write the code that takes the string from the user and convert the color or string in to yellow.
4)write a code of button which change the color of the mouse click event.
Public enum color{red, blue, yellow, green}
a. The button code is written in XML
b. Use for each statement to enum color
5) Will the given code is executed or not. If yes write the output of the code. If not, correct the error. And give the reason why not execute.
Today my paper of cs411:
all mcqs from from past papers. these ar all here...
1. Stream readers read by
line by line, word by word, in chunk, none of them
2. true statement about clause
3. when any variable declare as
static, public, private..
4. grabs the ok button
5. xaml attach the project >partial, system, machine dependancy...
6. if we require to set components in table column and row format
stack, dockpanel, grid none
7. Routed events are like, > properties, dependancy, layer etc.
8..true statement about interface
9..due to ... assemblies
metadata, events, etc
10. is fastest reader as xmldoc
xmlreadrer, xpath, none
Subjective
1..5 marsk.. output likhni thi..
int n=7:
for(i=0;i<n;i++)
cout"I"i;
for(int j=1;j<i; j=j*2);
{
cout"J"j;
}
}
2.. 5 marsk
Overflow problem in built in panel, and how can fix it?
3. write xml code with three items.
computer, programing, data
4:
print this in double qoutes
"Welcome" to cs411
JzakAllah kher.. Allah sb ko is buk m pass kre...
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post