Tips On Proper Consumer Electronics Disposal In Austin

By Judy Sullivan


Even though rapid technological advancements are welcome, they have caused some problems such as the increased disposal of old electronic gadgets. These gadgets contain components that may cause ailments if they end up in the soil or water supply. Dwellers of Austin should therefore adopt eco friendly measures as they get rid of electronic equipment waste. Recycling is one of the ways of safe electronics disposal in Austin.

When obsolete electric equipment is recycled, it serves a different purpose from its original purpose. Such equipment can also be repaired or updated in order to prolong its usability and ensure that it continues serving its original purpose. As a resident or business owner in Austin, it is your duty to abide by the legal legislation and rules that govern the disposal, management and recycling of electronic wastes.

Reputable electric waste recycling companies make sure that the waste they handle does not end up in landfills. This prevents environmental degradation. Electric goods such as cell phones, computers, television sets audio and video players among others contain hazardous materials such as gold, copper and lead. These materials can cause diseases in humans and wildlife after they get into the ecosystem. Therefore, disposing such electric gadgets safely is essential and it can be accomplished by seeking the assistance of electronic waste experts.

Consumers can turn over their obsolete gadgets to recyclers in various ways. They can take them to an electric equipment repair shop, an electronic waste drop off center, an electric equipment manufacturer, special recycling events and charities among others. It is wise to recycle electronics. When their components are reused, pollution is reduced. Furthermore, reusing such components makes it unnecessary to mine for metals that are used to make electric equipment.

Computers and their accessories make up about 60 percent of all recycled products by weight. Recycling companies process electronic components by separating the gadgets they are working on into their individual components. If they find reusable parts, they save them for future use. They break down all the unusable components. During the recycling process, components made from different materials such as plastic, glass and metal are separated from each other.

Reputable recyclers are members of the R2 program, which establishes guidelines that accredited recycling firms should follow. This program is designed to showcase that the firms are committed to utilizing responsible recycling practices. It focuses on various issues including public health, worker safety, environmental practices and consumer data security.

Metals such as aluminum and steel have a high recycling value because they can be reused for various purposes such as building spare parts and metal products. When obsolete gadgets are refurbished or recycled, the release of toxic chemicals into the environment is significantly reduced. Consumers who have a tight budget are also able to purchase the refurbished electric equipment at reduced prices.

If you have any old electric gadget that you want to dispose, you should ensure that you dispose it off in the right manner. There is a high potential for metals like cadmium and mercury as well as polychlorinated biphenyls to leach into the soil and contaminate food. Continued exposure to such elements can cause chronic diseases like cancer. It is the duty of everyone to utilize safe methods of electronics disposal in Austin. If handled in the right way, electronic waste becomes a valuable source of secondary raw materials.




About the Author:



Read More..

C PUZZLE


  • main(){

            int a=10,*j;
      void *k;
            j=k=&a;
      j++; 
            k++;
      printf("
%u %u ",j,k);
}
Answer:
            Compiler error: Cannot increment a void pointer
Explanation:
Void pointers are generic pointers and they can be used only when the type is not known and as an intermediate address storage type. No pointer arithmetic can be done on it and you cannot apply indirection operator (*) on void pointers.

  • Printf can be implemented by using  __________ list.

Answer:
            Variable length argument lists

  •  char *someFun(){

                  char *temp = “string constant";
                  return temp;
            }
            int main(){
                  puts(someFun());
            }
            Answer:
                  string constant
            Explanation:
      The program suffers no problem and gives the output correctly because the character constants are stored in code/data area and not allocated in stack, so this doesn’t lead to dangling pointers.

  • char *someFun1(){

                  char temp[ ] = “string";
                  return temp;
            }
            char *someFun2(){
                  char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’};
                  return temp;
            }
            int main(){
                  puts(someFun1());
                  puts(someFun2());
            }
            Answer:
            Garbage values.
            Explanation:
Both the functions suffer from the problem of dangling pointers. In someFun1() temp is a character array and so the space for it is allocated in heap and is initialized with character string “string”. This is created dynamically as the function is called, so is also deleted dynamically on exiting the function so the string data is not available in the calling function main() leading to print some garbage values. The function someFun2() also suffers from the same problem but the problem can be easily identified in this case.

  • Explain Internal linkage.

Internal linkage means that all declarations of the identifier within one source file refer to a single entity but declarations of the same identifier in other source files refer to different entities.

  • Can the formal parameter to a function be declared static?

No, because arguments are always passed on the stack to support recursion.

  • What is an lvalue?

Something that can appear on the left side of the "=" sign, it identifies a place where the result can be stored. For example, in the equation a=b+25, a is an lvalue.
In the equation b+25=a, b+25 cannot be used as an lvalue, because it does not identify a specific place. Hence the above assignment is illegal.

  • Every expression that is an lvalue, is also an rvalue. Is the reverse true?

No, lvalue denotes a place in the computers memory. An rvalue denotes a value, so it can only be used on the right hand side of an assignment.

  • What happens if indirection is performed on a NULL pointer?

On some machines the indirection accesses the memory location zero. On other machines indirection on a NULL pointer cause a fault that terminate the program. Hence the result is implementation dependent.

  • Is the statement legal? d=10-*d.

Illegal because it specifies that an integer quantity (10-*d) be stored in a pointer variable

  • What does the below indicate?

 int *func(void)
void indicates that there arent any arguments.
there is one argument of type void.
Answer: a

  • What are data type modifiers?

To extend the data handling power, C adds 4 modifiers which may only be applied to char and int. They are namely signed, unsigned, long and short. Although long may also be applied to double.

  • Interpret the meaning of the following.

“ab”,”a+b”
“w+t”
Answer:
"ab","a+b"->open a binary file for appending
"w+t" ->create a text file for reading and writing.

  • What is NULL in the context of files?

In using files, if any error occurs, a NULL pointer is returned.

What is Register storage class?
It concerns itself with storing data in the registers of the microprocessor and not in memory. The value of the variable doesnt have to be loaded freshly from memory every time. Its important to realize that this a request to the compiler and not a directive. The compiler may not be able to do it. Since the registers are normally of 16 bits long, we can use the register storage class for ints and chars.

  • What is an assertion statement?

They are actually macros. They test statements you pass to them and if the statement is false, they halt the program and inform you that the assertion failed. It is defined in the header file <assert.h>.

Parse int *(*(*(*abc)())[6])();
abc is a pointer to a function returning a pointer to array of pointer to functions returning pointer to integer.

Read More..

Arrays

An array is a data structure composed of a fixed number of components of the same type which are organised in a linear sequence. A component of an array is selected by assigning an integer value to its index (or subscript) which identifies the position of the component in the sequence.

In C, the arrays are intimately related to pointers. All sorts of array manipulations can also be performed by using pointers which will be discussed later.


8.1 ARRAY DECLARATION

The syntax of array declaration is as follows,

{} data type [expression]{[expression]};

Example 8.1 :

int arr[10];

The above declaration defines an array called arr of size 10, that is arr consists of 10 elements of same data type int. The elements occupy consecutive cells (every cell houses one element) and form an ordered set of elements. Each element can be identified by its position in the array, and that is called the subscript of an array. The first element is at position 0 and nth element can be found in the (n-1)th position.

The name of the array is arr, which contains the address of the first element(i.e. &arr[0]) of the array. However, an array name such as arr differs from an ordinary pointer variable (like int *p;), because, it is static in nature and cannot point to a new memory location other than what it is pointing to.

arr[0] arr[1] arr[9]





























More examples of array declarations :

static float grade[10];

char name[20];

8.2 ARRAY MANIPULATION

The most convenient way of performing array manipulation is to use the for repetitive construct in order to access every element of the array.

The following example illustrates the usage of an array in implementing addition of two vectors :

Example 8.2 :

# include

# define dimension 100

typedef int vector[dimension];

main()

{

vector vect_1,vect_2,result_vect;

int i;

printf(“Enter the vector dimension :”);

scanf(“%d”,&n);

fflush(stdin);

/*accepting values for two arrays vect_1, vect_2 */

for(i=0 ; i < n ; i++)

{

printf(“Give vector element # %d :”,i + 1);

scanf(“%d %d”,&vect_1[i],&vect_2[i]);

fflush(stdin);

result_vect[i]=0;

/* initialising the elements of the array result_vect to 0 */

}

/*vector addition and creation of the resultant vector */

for(i=0 ; i < n ; i++)

result_vect[i] += (vect_1[i] + vect_2[i] );

/* displaying the resultant matrix */

printf(“

”);

for(i=0 ; i < n ; i++)

{

printf(“%d ”,result_vect[i]);

}

printf(“
”);

}

Array initialisation can be performed in the following way,

int numbers[10]={1,2,3,4,5,6,7,8,9,10};

But this definition cum initialisation is permitted only in the form of external variable definition. To include the statement inside a function storage class clause static has to be used as a prefix. 1. Describe the output generated by every of the following program:

(a) # include

main ()

{

int a, sum = 0;

static int x[10] = { 9, 8, 7, 6, 5, 4, 3, 2, 0};

for (i = 0; i <>

if ((i % 2) ==0)

sum + = x[i];

printf (“%d”,sum);

}

(b) # include

# define ROWS 3

# define COLS 4

int x [ROWS] [COLS] = {12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};

main()

{

int i, j, max;

for (i = 0; i <>

{

max =9999;

for (j = 0; j

if (x [i][j] <>

max=z[i][j];

printf(“%d”, max);

}

}

2. Identify the errors in the following C program (if any) which initialises an array such that every of its ten elements is assigned with 0 value.

main()

{

int num_arr[10], i=0;

:

for(;++i <>

}

3. Identify the array defined in every of the following statements. Indicate what values are assigned to the individual array elements.

(a) char game[7] = {‘C’, ‘R’, ‘I’, ‘C’, ‘K’, ‘E’, ‘T’};

(b) char match[]=“Football”;

4. Write an appropriate array definition for every of the following cases:

(a) Define a one dimensional, integer array called A with 10 elements and initialise the array elements with 2,5,8,11,........, 29.

(b) Create a one dimensional, four element character array called object and assign the characters ‘C’, ‘I’, ‘R’,’C’, ‘L’ and ‘E’ to the array elements.

(c) Define a one dimensional, six element floating point array called flt_const having following initials values :

2.005, -3.05452, -1e-4, 340.179, 0.3e8, 0.023415

8.3 STRING - CHARACTER ARRAYS

A string constant, enclosed within a pair of double quotes, consists of 0 (empty string) or more characters terminated by a null (‘
Read More..

Facts Truths Realities You Ought To Understand About Free Reverse Cellular Phone Lookup

By Robers Dziejman


Regaining your lost contact list is now possible with the advance of download reverse cell phone number lookup. If you had lost your contact numbers, exclusively use the previously mentioned directory. Snatch thefts occur occasionally. Women usually are primary targets since they carry handbags, which are easy to grab and run.

So, what can you do concerning this? Short of creating a police report, nothing is much that can be done. The police will get hold of your mobile phone service provider to get the data regarding incoming calls to your cell phone. The service providers computerized system may have recorded time, date, location as well as other information about the phone call that has been created to your phone. Because there wasnt any number listed, it does not signify the call cant be traced. The method can be very tedious and long though.

Exclusively use a USB cable to get in touch your cellphone to your laptop. Then, copy the contact list into the computer. Regardless of whether you have an expensive iPhone or a cheap Samsung mobile phone. Nowadays, a lot of mobile devices include features like synchronizing to some personal computer. Creating a backup copy of your contact list on your computer could save you in the pain of experiencing to collect all the details of the previous contacts. In the event you didnt do this, dont trouble yourself regarding it.

Then, you can use a web-based cell number directory for having the relevant information pertaining to that person. All do it yourself is $10 or less for just one name search. Within a short while of ones search, every detail you need to call anybody and warn him off lightly is going to be together with you. The cellphone lookup company sends that you simply simple report that contains the cell phone as well as other pertinent details of the baby via email.

Print a copy with the report to help you keep it for ones reference or in the event that you should warn the person off for that second time. Under normal circumstances, an unscheduled visit to such a person and warning him off lightly once will suffice. Prior to hanging up, simply tell him which you have got everything like his legal name, current telephone numbers, his present residential address and even his date of birth. Which is more than enough for him to avoid calling you for no reason.

Whether it is a mischievous caller, your former girlfriend or other people, you will get peace of mind by putting a finish to such constant and unnerving calls. That is probably the great advantages of using a download reverse cell lookup service.




About the Author:



Read More..

Delete element in array

Q. Write a C program to delete a value or element in array and user should guide which value is deleted.


Ans.


/*c program for delete a number in array*/
#include<stdio.h>
#include<conio.h>

#define SIZE 50
int main()
{
 int arr[SIZE];
 int i,num,index;
 printf("Enter total number of element in array : ");
 scanf("%d", &num);
 for(i=0; i<num; i++)
 {
  printf("Enter %d element : ",i+1);
  scanf("%d",&arr[i]);
 }
 printf("
Enter element number which you want to delete : "
);

 scanf("%d", &index);
 if(index >= num+1)
   printf("
Element not found!!"
);

 else
 {
  for(i=index-1; i<num-1; i++)
     arr[i]=arr[i+1];
  printf("
-- After deletion new array list --

"
);

  for(i=0; i<num-1; i++)
    printf(" %d
"
,arr[i]);

 }
 getch();
 return 0;
}


/*************** Output *****************/
Screen shot of delete element in array




Related Programs:

  1. How to create array in C?
  2. How to calculate length of array?
  3. Insert new element in array
  4. Display array in reversing order
  5. Example of array C program
Read More..

Variable

Variable
  1. Variable is an entity that change during program execution. Example when we write r = 45 i.e. x can hold different value at different times so r is a variable.

  2. A variable may be integer,character,float,double etc..

 Rules for constructing Variable Names : 
  • A variable name must be start with alphabet or underscore.

  • A variable name is any combination of 1 to 31 alphabets,digits or underscores.

  • No commas,special symbol(rather than underscore [ _ ] ) or blanks are allowed within a variable name

  • Example of valid variable names : ram, _ram, d_x, _voids, echo_,  


Read More..

Amazons EC2 and Run BASIC

Ive been trying to figure out how to provide hosting for Run BASIC users. Someone had asked, so I suggested Amazons EC2 system. I had read about it somewhere, and then it was recommended to me while I was being interviewed here.

The idea that Ive been toying with is to charge a reasonable monthly fee like $15 for a Run BASIC user account on a VPS on EC2. A single instance of a VPS costs about $75 a month, and additional instances are created and removed as load changes.

So far things arent looking really encouraging. Jerry Muelver has been looking into this matter, and so far it looks like a difficult matter to set up. Documentation is not easy to follow, and it just seems like a real hair puller. Check it out Jerrys story here.
Read More..