Fans of Computer Science

Fans of Computer Science Basic classes provided in the first two years give our students a concrete

Our aim is to educate engineers who are ready to work actively in the IT world, acquiring high ability in information engineering for the upcoming ubiquitous computing generation.

30/04/2025

👋 Welcome to your Azure journey!Are you new to cloud computing? Thinking of a career switch or just curious about Microsoft Azure? The AZ-900: Microsoft Azu...

05/07/2016

Q.1. How to find first non repeated character of a given String?

31/08/2014
09/06/2014

What will be the output of the program?
public class Foo
{
Foo()
{
System.out.print("foo");
}

class Bar
{
Bar()
{
System.out.print("bar");
}
public void go()
{
System.out.print("hi");
}
} /* class Bar ends */

public static void main (String [] args)
{
Foo f = new Foo();
f.makeBar();
}
void makeBar()
{
(new Bar() {}).go();
}
}/* class Foo ends */

05/06/2014

Which of the following are correctly formed statements in C?


A. CUBE (X) (X*X*X);

B. CUBE(x) (X*X*X)

C. CUBE(X)(X*X*X)

D. CUBE(X) {X*X*X}

20/05/2014

What will be the output of the program, if a short int is 2 bytes wide?

int main()
{
short int i = 0;
for(i=-1; ++i; i>0)
printf("%u,", i);
return 0;
}



A. 1 ... 65535 B. Expression syntax error

C. No output D. 0, 1, 2, 3, 4, 5

19/05/2014

How to open notepad using Java program

import java.util.*;
import java.io.*;

class Notepad {
public static void main(String[] args) {
Runtime rs = Runtime.getRuntime();

try {
rs.exec("notepad");
}
catch (IOException e) {
System.out.println(e);
}
}
}

Address

Aurangabad
431007

Telephone

8149832020

Website

Alerts

Be the first to know and let us send you an email when Fans of Computer Science posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share