The original question was: "need help with code"? which isn't a well-formed question. If you're asking if we (the answers community) need your help then the answer is no, but thank you all the same. If you're actually asking if you need help then the answer is probably yes, you do need help, but in order to assist you further we'd need more information on the problem.
There is no such thing as a machine "capable of solving any problem".
Nice name for computer science association?
i need my association name of cse plz give good names it may be sanscript also
Is a Wii an artificial intelligence machine?
If you are talking about the Nintendo Wii Console - then the answer is a direct "No"
But if you talk about the games developed for Wii - Then the answer is "Yes" because most of the games ( High - end) use advance AI for characters ( Entities ) in their games.
Can a computer run without an operating system if it has a good application?
Yes, the earliest computers built did not have operating systems (the idea of an operating system had not been thought of) so individual programs were loaded and run one at a time. The first computer I used (in 1973) had no operating system, programs punched on decks of cards were loaded and run one at a time.
The first microcomputers sold did not have enough memory to load an operating system. When Bill Gates wrote the original version of Microsoft BASIC for the MITS Altair 8800 the standard 8800 came with only 256 bytes of RAM and Microsoft BASIC could not run with less than 4096 bytes of RAM (it was already very expensive to expand the RAM to that size), so Microsoft BASIC was written to run without an operating system.
There are also embedded system computers that are dedicated to one purpose and usually run one preloaded program supplied by the manufacturer and do not allow other programs to be loaded. While some embedded system computers do use an operating system, it is also common for the preloaded program to be written to directly control all the hardware directly without the need for an operating system.
How do you read hexadecimal number codes?
Hexadecimal is closely related to binary numbers. There are 16 digits, or enough to hold 4 bits of information (or a half a byte, also called a nibble). Two hex numbers will represent a byte, or 8 bits.
The basic hex digits are: 0 1 2 3 4 5 6 7 8 9 A B C D E F then starting over with 10.
2 digits in Hex give you the numbers from 00 to FF in hex, the numbers from 0000 0000 to 1111 1111 in binary and the numbers 0 to 255 in decimal.
Let's start with a binary / Decimal / Octal / Hex table.
Binary Decimal Octal Hex 00 0000000000 00 0001010101 00 0010020202 00 0011030303 00 0100040404 00 0101050505 00 0110060606 00 0111070707 00 1000081008 00 1001091109 00 101010120A 00 101111130B 00 110012140C 00 110113150D 00 111014160E 00 111115170F 01 0000162010 01 0001172111 01 0010182212 01 0011192313 01 0100202414 01 0101212515 01 0110222616 01 0111232717 01 1000243018 01 1001253119 01 101026321A 01 101127331B 01 11002834
1C 01 110129351D 01 111030361E 01 111131371F 10 0000324020
Ok,
because the binary progresses on factors of 2, the octal and hex are easier to follow.
Any number ending in "7" in hex or octal will always end in "111" in binary.
Any number ending in "F" in hex will always end "1111" in binary.
Since Decimal doesn't use a base that is a power of 2, the numbers don't line up the same.
You can convert from Hex to Decimal by breaking out each digit and multiplying by the base.
Multiply the one's digit by 16^0 or 1
Multiply the tens digit by 16^1 or 16
Multiply the hundreds digit by 16^2 or 256
Multiply the thousands digit by 16^3 or 4096, etc.
And add them all up.
So, to convert: 3CF2 to decimal, you would:
Multiply 2*1 = 2
Multiply F (15) * 16 = 240
Multiply C (12) * 256 = 3072
Multiply 3 * 4096 = 12288
------------------
2 + 240 + 3072 + 12288 = 15602
Converting each digit to binary (using the table above if you want), you get:
0011 1100 1111 0010
To convert the other way, you keep dividing by 16, and keeping the "remainder" for the digit.
15602 / 16 = 975 r 2 --> 2
975 / 16 = 60 r 15 --> F
60 / 16 = 3 r 12 --> C
3 / 16 = 0 r 3 --> 3
Put it back together and you get the number above: 3CF2
Software is a product Justify this statement?
Product: "Something produced by human or mechanical effort or by a natural process."
Software is produced by human and mechanical effort, therefore software is a product.
Prove A plus Ab equals A using boolean algebra theorem?
A+A*b does not mean A plus Ab
the operation signified by "+" is called "or"
the operation signified by "*" is called "and"
there are four possible outcomes of a+a*b
if a=1 and b=1 the result is 1
if a=1 and b=0 the result is 1
if a=0 and b=1 the result is 0
if a=0 and b=0 the result is 0
a+a*b is 1 if a is 1 and a+a*b is 0 if a is 0 regardless of the value of b
thus a+a*b=a
Q.E.D.
Do you have bsnl tta old question papers?
If the voltage applied across a capacitance is triangular in waveform then the waveform of the current is-
a) Triangular
b) Trapezoidal
c) Sinusoidal
d) Rectangular
Answer is :- Rectangular
1. One of the following statement which is true for relative dielectric constant is -
a) It is dimensionless
b) It is not equal to unity for vacuum
c) It?s value for all substances is less than one
d) None
Answer is :- It is dimensionless
2. Pure metals generally have-
a) high conductivity and low temperature coefficient
b) high conductivity and large temperature coefficient
c) low conductivity and zero temperature coefficient
d) low conductivity and high temperature coefficient
Answer is :- high conductivity and large temperature coefficient
3. For small size, high frequency coils, the most common core material is
a) Air
b) Ferrite
c) Powdered ion
d) Steel
Answer is :- Air
4. For an abrupt junction Varactor diode, the dependence of device capacitance (C) on applied reverse bias (V) is given by-
a) C a V1/3
b) C a V-1/3
c) C a V1/2
d) C a V-1/2
Answer is :- C a V-1/3
5. A superconductor is a-
a) A material showing perfect conductivity and Meissner effect below a critical temperature
b) A conductor having zero resistance
c) A perfect conductor with highest dimagnetic susceptibility
d) A perfect conductor which becomes resistive when the current density through it exceeds a critical value
Answer is :-A material showing perfect conductivity and Meissner effect below a critical temperature
6. When a semiconductor based temperature transducer has a temperature coefficient of ?2500 mV/0C then this transducer is indeed a-
a) Thermistor
b) Forward biased pn junction diode
c) Reverse biased pn junction diode
d) FET
Answer is :- Forward biased pn junction diode
7. The location of lightning arrestor is -
a) Near the transformer
b) Near the circuit breaker
c) Away from the transformer
d) None
Answer is :- Near the transformer
8. Time constant of an RC circuit increases if the value of the resistance is -
a) Increased
b) Decreased
c) Neither a nor b
d) Both a and b
Answer is :- Increased
9. Intrinsic semiconductors are those which -
a) Are available locally
b) Are made of the semiconductor material in its purest from
c) Have more electrons than holes
d) Have zero energy gaps
Answer is :- Are made of the semiconductor material in its purest from
10. The primary control on drain current in a JFET is exerted by -
a) Channel resistance
b) Size of depletion regions
c) Voltage drop across channel
d) Gate reverse bias
Answer is :- Gate reverse bias
11. The electrical conductivity of metals which is expressed in ohm-1 m-1 is of the order of -
a) 1010
b) 105
c) 10-4
d) 10-6
Answer is :- 105
12. When biased correctly, a zener diode ?
a) acts as a fixed resistance
b) has a constant voltage across it
c) has a constant current passing through it
d) never overheats
Answer is :- has a constant voltage across it
13. The current amplification factor adc is given by ?
a) IC/IE
b) IC/IB
c) IB/IC
d) IB/IC
Answer is :- IC/IE
14. Compared to bipolars, FETs have-
a) high input impedance
b) low input impedance
c) same input impedance
d) none
Answer is :- high input impedance
15. The source-drain channel of JFET is -
a) ohmic
b) bilateral
c) unilateral
d) both a and b
Answer is :- both a and b
16. diac is equivalent to a -
a) Pair of SCRs
b) Pair of four layer SCRs
c) Diode and two resistors
d) Triac width
Answer is :- Pair of four layer SCRs
17. When a sample of N type semiconductor has electron density of 6.25 ? 1011 /cm3 at 300K and if the intrinsic concentration of carriers in this sample is 2.5 ? 1013/cm3 then the hole density will be ?
a) 106/cm3
b) 103/ cm3
c) 1010/ cm3
d) 1012/ cm3
Answer is :- 103/ cm3
18. The statement ?In any network of linear impedances, the current flowing at any point is equal to the algebraic sum of the currents caused to flow at that point by each of the sources of emf taken separately with all other emf?s reduced to zero? represents -
a) Kirchhoff?s law
b) Norton?s theorem
c) Thevenin?s theorem
d) Superposition theorem
Answer is :- Superposition theorem
19. One of the following modes which has the characteristics of attenuation becoming less as the frequency is increased and is attractive at microwave frequencies of circular cylindrical wave guides is ?
a) TE1 mode
b) TM01 mode
c) TE01 mode
d) Higher order mode
Answer is :- TE01 mode
20. A two-port network is symmetrical if ?
a) z11z22 ? z12z21 = 1
b) h11h22 ? h12h21 = 1
c) AD ? BC = 1
d) y11y22 ? y12y21 = 1
Answer is :-AD ? BC = 1
21. For transmission line load matching over a range of frequencies, it is best to use a-
a) balun
b) broad band directional coupler
c) double stub
d) single stub of adjustable position
Answer is :- double stub
22. The poles and zeros of a driving point function of a network are simple and interlace on the negative real axis with a pole closest to the origin. It can be realised -
a) by an LC network
b) as an RC driving point impedance
c) as an RC driving point admittance
d) only by an RLC network
Answer is:- only by an RLC network
23. Poles and zeros of a driving point function of a network are simple and interlace on the jw axis. The network consists of elements ?
a) R and C
b) L and C
c) R and L
d) R, L and C
Answer is :- L and C
24. For a two port reciprocal network, the output open circuit voltage divided by the input current is equal to ?
a) B
b) Z12
c) ?
d) h12
Answer is :- Z12
25. In a short electric doublet the radiation properties are so that-
a) The induction field diminishes as the square root of the distance and is only appreciable in the vicinity of the conductor.
b) In the radiation, magnetic field is minimum when the current is maximum.
c) The radiation resistance of a short doublet antenna is extremely high.
d) Mean rate of power through a unit area of spherical sphere surrounding this doublet is proportional to the square of the elemental length, other factors remaining constant.
Answer is :-Mean rate of power through a unit area of spherical sphere surrounding this doublet is proportional to the square of the elemental length, other factors remaining constant.
For more Questions please visit www.solvedquestionpapers.com
What is the role of Accident Reconstruction Analyst?
An accident reconstruction analyst is typically a PE with additional training and expertise in investigating and determining the root cause or causes of a motor vehicle or other accident. They will rely on evidence obtained at the accident scene such as gauge marks, tire skid marks, and debris to "recreate" the sequence of events in the crash from the point of pre-impact through final rest of the vehicles. Nowadays, they utilize advanced software to produce 3D animations to illustrate their findings.
Define computer Briefly describe classification of computers?
A computer is a machine that is able to be programmed to perform tasks. Classification is based on application, size, brand, and model.
What is remote computer monitoring?
Remote computer monitoring is the act of monitoring a computer from a different location. Usually, large businesses do this with either a key-stroke monitor/logger, a screenshot program, or both.
I believe what your referring to is the process of which the CPU (Central Processing Unit) of it basically "pausing" and "resuming" applications.... That's a really bad answer but It is rather hard to explain.
What is the definition of symbolic constants in c language?
constants are values that does not chnage through out the program exceution..
Who are the users of supercomputers?
There are so many variables to climate and weather climatologists make use of these computers.
# include <stdio.h>
# include <conio.h>
int main ()
{
char a;
printf("Enter the number");
scanf("%c", &a);
(a>=97 && a<=122)?
printf("\n\nIt is a lower case alphabet"):printf("\n\nIt is not a lower case alphabet");
getch();
getch();}
What are popular database vendors?
Just a few examples: CodeGear sell Interbase; Microsoft sell MS-SQL and Access; Oracle; Progress; mySQL is free.
1. Find out the address of the element A(4,5,2) where A is a 3-dimensional array with subscript limits 1≤ i ≤6, 1≤ j ≤7 and 0≤ k ≤4 when A is in row major addressing. Assume base address is 1000 and word size is 2.
Answer:
Array(depth,col,row) means A(4,5,2)
Address= BASE+ ((depthindex*col_size+colindex) * row_size + rowindex) * Element_Size
ADDRESS=1000+((4*7+5)*5+2)*2
(1000+((33*5)+2)*2
(1000+(167*2))
(1000+334)
1334What is the program for echo server using message queues?
// File 1: mesg.h
#include
#include
#include
#include
#define MKEY1 4164L
#define MKEY2 4266L
#define PERMS 0666
typedef struct
{
long mtype;
char mdata[50];
}
mesg;
// File 2: Client.c
#include "mesg1.h"
mesg msg1,msg2;
main()
{
int mq_id1,mq_id2;
int n;
if((mq_id1=msgget(MKEY1,PERMS|IPC_CREAT))<0)
{
printf("Client:error creating queue");
exit(1);
}
if((mq_id2=msgget(MKEY2,PERMS|IPC_CREAT))<0)
{
printf("Client:error creating queue");
exit(1);
}
msg1.mtype=10L;
n=read(0,msg1.mdata,50);
msg1.mdata[n]='\0';
msgsnd(mq_id1,&msg1,50,0);
msgrcv(mq_id2,&msg2,50,10L,0);
write(1,msg2.mdata,50);
}
// File 3: Server.c
#include "mesg1.h"
mesg msg;
main(){
int mq_id1,mq_id2;
int n;if( ( mq_id1=msgget(MKEY1,IPC_CREAT|0666) ) < 0){printf("Server:error openenig queue");exit(1);}msgrcv(mq_id1,&msg,50,10L,0);if((mq_id2=msgget(MKEY2,IPC_CREAT|0666))<0){printf("sender:error creating queue");exit(1);}msgsnd(mq_id2,&msg,50,0);}What is the purpose of computer engineering?
An excellent question. Most of the time, they just appear to be playing with their computers, drawing silly diagrams, writing unintelligible babble or browsing the web. At other times, they pretend to be doing real work with a proper screwdriver or a soldering iron, but questions have been raised.
What selector in HTML is used to match any element in the hierarchy?
The * selector is used to match any element in the hierarchy.