Thursday, March 17, 2011

CrazyEngineers Forum

CrazyEngineers Forum


Einstein or Newton?

Posted: 17 Mar 2011 12:32 PM PDT

Newton has his own theory for gravity. and Einstein had different views.

Lets share knowledge about these two different theories.

Enhance your debugging skills!

Posted: 17 Mar 2011 09:50 AM PDT

Hi CEans

If you think that you are good at debugging then why dont you try some of the debugging questions posted below.Post your answer along with the executable code.The one who answers for more number of questions will get a prize from me.I will post more questions as soon as i get the answers for these questions.

1.Please dont use thanks,good,bad etc.Use "like" button if you think that it is good.
2.Dont use sms language.
3.The one who gives correct answer with the executable code will be taken first.
4.Please enclose your program using code tag.

1.what is the output??
Code:

#include<stdio.h>
#include<conio.h>
int main()
{
  char name[]="paradigm";
  fprintf(stdin,"hi");
  scanf("%s",name);
  printf("%s",name);
  getch();
  return 0;
}

2.2.Consider a database 'employees' containing the attributes name,dept_id,salary.. Which of the following subqueries will work?
A) Select * from employees where salary>(select min(salary) from employees group by dept_id));
B) Select * from employees where salary=(select avg(salary) from employees group by dept_id));
C) Select distinct dept_id from employees where salary> any (Select avg(salary) from employees group by dept_id);)
D) Select dept_id from employees where salary>all(Select avg(salary) from employees group by dept_id));
E) select name from employees where salary>any(select max(salary) from employees group by dept_id));
F) Select dept_id from employees where salary>all(Select avg(salary) from employees group by avg(salary))
3.what is the output?
Code:

#include<stdio.h>
#include <setjmp.h>
jmp_buf buf;
#include <setjmp.h>
banana() {
printf("3 ");
longjmp(buf, 1);
printf("4 ");
}
main()
{
if (setjmp(buf))
printf("1 ");
else {
printf("2 ");
banana();
}
}

4.what is the output??
Code:

#include<stdio.h>
main ()
{
char *table[] = {"jan","feb","march"};
char **ptr = &table [1];
printf ("%c", (*++*--ptr));
}

5.what is the output??
Code:

#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
    int a=20;
    printf("%d,%d",sizeof(++a),++a);
    getch();
    return 0;
}

Explain the term!!!

Posted: 17 Mar 2011 09:15 AM PDT

Hi CEans

I'm starting this thread to gain some basic information about terms involved in all trades.Hope it would be beneficial for all the Ceans :)

Here,one must post the information about the term and post a question.Someone has to give the answer for that term put by the previous person and ask some other question!!
You can post the picture or video along with the information you give for that term!!It would be great if you give some example related to corresponding term.

Things which should not be done:
1.Please dont post thanks,nice information etc.If you want to say thanks just "like" that post.
2.Copy paste from other sites is not allowed here.Write it in your own words.
3.Refrain from using sms text.
4.Make the term bold and the explanation should not be in bold.
5.The explanation of the term should be clear.

I will start with the term "Cryptography"

Cryptography:
It is the process of converting the data into an encrypted form for transmitting over a network(secured or unsecured)The sender encrypts the data at the source end and the receiver decrypts the data at the receiver end.The encrypted data is called as "ciphertext" and it is decrypted into plain text(unencrypted data)using encryption algorithms.

what is Man in the Middle attack??

Putty Or SSH App For Android?

Posted: 17 Mar 2011 08:05 AM PDT

I'm wondering whether there's any app available for Android OS similar to PUTTY program (SSH client).

Any alternatives would do as well :)

One World Trade Center Construction Details & Status

Posted: 17 Mar 2011 07:58 AM PDT

This thread is dedicated to the construction details and the latest status update of One World Trade Center. The tower is also called as 'Freedom Tower' and here are the stats -


Floor count: 105
Floor area: 2,599,980 sq ft
Expected Completion: 2013.

Antenna or spire 1,776 ft (541.32 m)
Roof 1,368 ft (417 m)
Top floor 1,314 ft (401 m)






If anyone's got first-hand photos of the construction, please post them here :)

Images Source: Wikipedia.

"SUPERMOON" on 19th March 2011

Posted: 17 Mar 2011 07:20 AM PDT

The phenomenon known as lunar perigee or Supermoon will occur on 19th of March 2011. The moon will be only 221,567 miles away from our planet, which is the closest in the last 19 years. It is anticipated that the earth might experience extreme weather conditions. However, there is no scientific proof for it yet. If you have any information regarding the Supermoon phenomenon, share it with all of us.

NotionInk: Adam Tablet

Posted: 17 Mar 2011 06:22 AM PDT

I interviewed Rohan Shravan of NotionInk about his background, starting up and the Adam Tablet. Take a look here: Rohan Shravan On NotionInk’s Adam - CrazyEngineers

Tata Docomo 3G Data Stick Unlimited Data Plans Review

Posted: 17 Mar 2011 05:55 AM PDT

I'm excited to see the Tata Docomo HSPA+ 3G e-stick. However, the data plans aren't very impressive. Tata's put a cap on the maximum data you can download (even in unlimited plans). For example, -

3G 3.6 Mbps Don 5 GB @ 1000 Plan gives you peak speed of 3.6 MBPS, but you can download only 5GB of data at the peak speed. Once you've crossed the limit, the speed will drop to 128kbps. :(

Similarly,
3G 3.6 Mbps Don 10 GB @1250 Plan offers only 10 GB of data download at the peak speed.

Given the pricing, I believe BSNL is still the king in the 3G domain. What's your take?

Bay View Kochi – DLF India

Posted: 17 Mar 2011 03:25 AM PDT

They say it's the last sea-facing property available in Kochi? Do you guys think its true?

The DLF Group has now come up again with its new luxurious project Bay View at Marine Drive, Kochi. The project has been developed along with Shonmugom Road and Marine Drive Walkway just opposite the High Court which connects it to the city centre. The location is on the Waterfront to Kochi Harbour.

Visit DLF Luxury Homes in Kakkanad | Apartments in Kakkanad | Buy Flats in Kakkanad | DLF Penthouses in Kakkanad for more.

Hi

Posted: 17 Mar 2011 03:24 AM PDT

Heyy there

here to share news and views about civil engineering and real estate...

hoping for a good time here :) ;)

Hey ! all

Posted: 17 Mar 2011 03:10 AM PDT

I just wanted to post a few quick words to say how happy I am to be part of this forum. I intend to work in healthcare IT which seems to be a happening field. I read this blog on transcription, which I wanted to share with everyone.

25 Infamous Viruses Infographic

Posted: 17 Mar 2011 12:55 AM PDT

Check out our latest coverage on VoiCE: 25 Infamous Viruses In Last 25 Years - CrazyEngineers

Techniques For Green Buildings

Posted: 17 Mar 2011 12:35 AM PDT

I'd love to hear from Civil Engineers about the environment friendly techniques used in Civil Design in constructions of buildings, dams, bridges et al.

Are there any special techniques at all?

Sun.com will disappear on June 01, 2011

Posted: 17 Mar 2011 12:32 AM PDT

World's 12th registered internet domain, sun.com will cease to exist from June 01, says official sun blog: Sun.com Will Disappear After June 1 : OTN Garage
:cry:

IE9 Downloaded 2.3 Million Times In 24 Hours. Did Not Beat FF's World Record

Posted: 17 Mar 2011 12:29 AM PDT

Internet Explorer 9 was released few a day ago and it has seen 2.3 million downloads in 24 hours. We we do some math, it comes to around 240 downloads every 9 seconds. Microsoft's Official Blog says it's a 'WoW' moment, but it's not at all impressive. Back in 2008, Firefox set a record with over 8 million downloads in a single day.

Have you downloaded IE9 yet?

No comments:

Post a Comment