Monday, December 10, 2007
my vector in adobe..
This is the picture which we are going to vectorize.
Wednesday, December 5, 2007
my first work in adobe cs2
Wednesday, August 1, 2007
[Answer]Programming Exercise 5: Windows Forms
I have answered the exercise given at the http://www.dotnetstarter.blogspot.com/
Sunday, July 22, 2007
[Answer] Review Exercises #3
using System;
using System.Collections.Generic;
using System.Text;
namespace Problem_3
{
class Program
{
static void Main(string[] args)
{
string a, b, c, d;
int A, B, C, D;
Console.Write("Enter integer 1: ");
a = Console.ReadLine();
Console.Write("Enter integer 2: ");
b = Console.ReadLine();
Console.Write("Enter integer 3: ");
c = Console.ReadLine();
Console.Write("Enter integer 4: ");
d = Console.ReadLine();
Console.WriteLine("");
A=Int32.Parse(a);
B = Int32.Parse(b);
C = Int32.Parse(c);
D =Int32.Parse(d);
MathUtil Math = new MathUtil(A, B, C, D);
Console.WriteLine("Sum: "+Math.sum);
Console.WriteLine("Product: " + Math.multi);
Console.WriteLine("Difference: " + Math.diff);
Console.WriteLine("Qoutient: " + Math.qout);
Console.ReadLine();
}
}
public class MathUtil
{
#region "fields"
int num1;
int num2;
int num3;
int num4;
float P3, P4;
#endregion
#region "constructor"
public MathUtil(int num1,int num2,int num3,int num4)
{
this.num1 = num1;
this.num2 = num2;
this.num3 = num3;
this.num4 = num4;
this.P3 = num3;
this.P4 = num4;
}
#endregion
#region "R-only Propertys"
public int sum
{
get
{
return num1+num2+num3+num4;
}
}
public int multi
{
get
{
return num1 * num2 * num3 * num4;
}
}
public int diff
{
get
{
return num1 - num2;
}
}
public float qout
{
get
{
return P3 / P4;
}
}
#endregion
}
}
[Answer] Review Exercises # 1&2
using System;
using System.Collections.Generic;
using System.Text;
namespace Albores_Francis
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("------------------Problem 1------------------");
string a, b, c, d;
int sum, prod, diff, A, B, C, D;
float qout;
Console.Write("Enter integer 1: ");
a = Console.ReadLine();
Console.WriteLine("");
Console.Write("Enter integer 2: ");
b = Console.ReadLine();
Console.WriteLine("");
Console.Write("Enter integer 3: ");
c = Console.ReadLine();
Console.WriteLine("");
Console.Write("Enter integer 4: ");
d = Console.ReadLine();
Console.WriteLine("");
Console.WriteLine("");
Console.WriteLine("");
A = Int32.Parse(a);
B = Int32.Parse(b);
C = Int32.Parse(c);
D = Int32.Parse(d);
sum = A + B + C + D;
prod = A * B * C * D;
diff = A - B;
qout = 1/2;
Console.WriteLine("Sum: " + sum);
Console.WriteLine("");
Console.WriteLine("Product: " + prod);
Console.WriteLine("");
Console.WriteLine("Difference (1 and 2): " + diff);
Console.WriteLine("");
Console.WriteLine("Quotient (3 and 4): " + qout);
Console.WriteLine("");
Console.WriteLine("------------------Problem 2------------------");
string numofStud_S, grade_S, persentPS, persentFS;
int numofStud, grade, passed = 0, failed = 0;
float persentP, persentF;
Console.Write("Enter number of students to process: ");
numofStud_S = Console.ReadLine();
numofStud = Int32.Parse(numofStud_S);
bool invalid = false;
for (int x = 0; x < numofStud; x++)
{
do
{
Console.Write("Enter grade for student {0} 60-100: ", x + 1);
grade_S = Console.ReadLine();
grade = Int32.Parse(grade_S);
if (grade <> 100)
{
Console.WriteLine("Error: Grade must be within 60 to 100");
invalid = true;
}
else
invalid = false;
} while (invalid == true);
if (grade >= 75 && grade <= 100)
passed++;
else
{
failed++;
}
}
persentPS = passed.ToString();
persentFS = failed.ToString();
Console.WriteLine("");
Console.WriteLine("Total no. of students: "+numofStud);
Console.WriteLine("No. of students who passed: " + passed);
Console.WriteLine("No. of students who failed: " + failed);
Console.WriteLine("");
persentP = (float.Parse(persentPS) / float.Parse(numofStud_S) * 100);
persentF = (float.Parse(persentFS)/float.Parse(numofStud_S)*100);
Console.WriteLine("Percentage of students who passed: "+persentP+"%");
Console.WriteLine("Percentage of students who failed: " + persentF + "%");
Console.ReadLine();
}
} }
[Answer] Problem #3 EXAM dotnetstarter.blogspot.com
Copy and paste this code to answer the question. for the question, just click the title.
using System;
using System.Collections.Generic;
using System.Text;
namespace Exam01
{
class Program
{
static void Main(string[] args)
{
Book book1 = new Book();
book1.Type = BookType.Science;
book1.Pages = 150;
book1.Title = "Practical Science";
book1.Author = "Professor X1"; // Displays an error since the author name has a digit
Console.WriteLine(book1.Author); // Displays 'Unknown' since the author field is blank
book1.Author = "Professor X";
Console.WriteLine(book1); // Display's 'Type: Science, Title: Practical Science, Author: Professor X, Pages: 150'
Book book2 = new Book(BookType.History, "World History", "Magellan");
book2.Borrow(); // Sets the book status to borrowed
Console.WriteLine(book2.IsBorrowed); // Displays true
book2.Borrow(); // Displays an error since book is already borrowed
book2.Return(); // Sets the book status to available
Console.WriteLine(book2.IsBorrowed); // Displays false
book2.Return(); // Displays an error since book is already returned
Console.ReadLine();
}
}
public enum BookType
{
Undefined,
Fiction,
NonFiction,
History,
Science
}
public enum StatusType
{
Undefined,
Available,
Borrowed
}
public class Book
{
#region "fields"
private int _pages;
private string _title;
private string _author;
private BookType _bookType;
private StatusType _statusType;
#endregion
#region "Constructors"
public Book(BookType bookType, string title, string author, int pages)
{
_pages = pages;
_title = title;
_author = author;
_bookType = bookType;
_statusType = StatusType.Available;
}
public Book(BookType bookType, string title, string author)
{ }
public Book(string title,string author)
{ }
public Book()
{ }
#endregion
#region "Propertys"
public string Title
{
get{return _title;}
set{_title = value;}
}
public string Author
{
get
{
if (_author == "")
{
return "'Unknown' since the author field is blank";
}
else
return _author;
}
set
{
if (value.Contains("1") || value.Contains("2") || value.Contains("3") || value.Contains("4") || value.Contains("5") || value.Contains("6") || value.Contains("7") || value.Contains("8") || value.Contains("9") || value.Contains("0"))
{
Console.WriteLine("error since the author name has a digit");
_author = "";
}
else
_author = value;
}
}
public int Pages
{
get { return _pages; }
set { _pages = value; }
}
public BookType Type
{
get { return _bookType; }
set { _bookType = value; }
}
public bool IsBorrowed
{
get
{
if (_statusType == StatusType.Borrowed)
return true;
else
return false;
}
}
#endregion
#region "methods"
public void Borrow()
{
if (IsBorrowed == true)
Console.WriteLine("error since book is already borrowed");
else
_statusType = StatusType.Borrowed;
}
public void Return()
{
if(_statusType==StatusType.Available)
Console.WriteLine("error since book is already returned");
else
_statusType = StatusType.Available;
}
#endregion
public override string ToString()
{
return "Type: "+_bookType+", Title: "+_title+", Author: "+_author+", Pages: "+_pages;
}
}
}
[Answer]Problem #2 EXAM dotnetstarter.blogspot.com
using System;
using System.Collections.Generic;
using System.Text;
namespace practice
{
class Program
{
static void Main(string[] args)
{
string choice;
double C;
double a = 0.55555555555555555555555555555556;
double F;
bool repeat = false;
do
{
Console.WriteLine("Menu:");
Console.WriteLine("[C] Convert from Fahrenheit to Celsius");
Console.WriteLine("[F] Convert from Celsius to Fahrenheit");
Console.WriteLine("[X] Exit application");
Console.Write("Choice: "); repeat = false;
choice = Console.ReadLine();
switch (choice)
{
case "c":
case "C":
{
Console.Write("Enter temperature in Fahrenheit: ");
choice = Console.ReadLine();
if (choice == "")
{
repeat = true; break;
}
else
{
F = double.Parse(choice);
C = ((F - 32) * a);
Console.WriteLine("Temperature in Celcius: " + C);
repeat = true; break;
}
}
case "f":
case "F":
{
Console.Write("Enter temperature in Celsius: ");
choice = Console.ReadLine();
if (choice == "")
{
repeat = true; break;
}
else
{
C = double.Parse(choice);
F = (1.8) * C + 32;
Console.WriteLine("Temperature in Fahrenheit: " + F);
repeat = true; break;
}
}
case "x":
case "X":
{
Console.WriteLine("BABAY!!!"); break;
}
default:
{
Console.WriteLine("Error"); Console.ReadLine();
repeat = true; break;
}
}
} while (repeat == true);
}
}
}
ANSWER!!! Exam 1 UIC SysProg
using System;
using System.Collections.Generic;
using System.Text;
namespace practice
{
class Program
{
static void Main(string[] args)
{
string[] num = new string[3];
float[] numf = new float[3];
float index = 0;
int j;
for (int x = 0; x <>
{
Console.Write("Enter float {0}: ", x + 1);
num[x] = Console.ReadLine();
numf[x] = float.Parse(num[x]);
}
Console.WriteLine("");
Console.WriteLine("Order:");
for (int i = 0; i <>
{
index = numf[i];
j = i;
while ((j > 0) && (numf[j - 1] > index))
{
numf[j] = numf[j - 1];
j = j - 1;
}
numf[j] = index;
}
for (int x = 0; x <>
{
Console.WriteLine(numf[x]);
}
Console.ReadLine();
}
}
}
Answer Exam 1 UIC SysProg
using System;
using System.Collections.Generic;
using System.Text;
namespace practice
{
class Program
{
static void Main(string[] args)
{
string[] num = new string[3];
float[] numf = new float[3];
float index = 0;
int j;
for (int x = 0; x <>
{
Console.Write("Enter float {0}: ", x + 1);
num[x] = Console.ReadLine();
numf[x] = float.Parse(num[x]);
}
Console.WriteLine("");
Console.WriteLine("Order:");
for (int i = 0; i <>
{
index = numf[i];
j = i;
while ((j > 0) && (numf[j - 1] > index))
{
numf[j] = numf[j - 1];
j = j - 1;
}
numf[j] = index;
}
for (int x = 0; x <>
{
Console.WriteLine(numf[x]);
}
Console.ReadLine();
}
}
}
Thursday, June 14, 2007
VOICE Enhancement
may i suggest to include on the workshop the VOCAL PROJECTION-this is a step by step management from the inhalation process to the budegetting of the air and focusing the exact air pressure needed during singing application.
Remember to get the voice not from the throat but from the tummy vocal placement. Breath support must always be ahead of your voice..
Inititiate the exercise by doing first the lessons on deep beathing technique and then connect the application of the air with the sound produce a beautiful tone.
to add more, include on syllabus THE MOUTHFUL OF VOWELS- In singing, vowels and consonants play an important role.For you to sing good you must focus and give more importance in identifying the vowels rather than the consonants. Vowels are the emotional expression of the song. Consonants are the intellectual expression of the song.
There are five PURE VOWEL SOUNDS, namely:
"a", "e", "i", "o", "u"
love let live gold moon
1. In singing the song you have to feel the vowels formed in your mouth.
VOWEL "a"- is formed with the mouth by dropping the jaw down and towards the throat, it has to have a 2-3 finger distance between the upper and lower teeth.
VOWEL "e"- is formed with a smiling face, the lips are widening side by side and the jaw should also be dropping down with 2 finger distance between the teeth.
VOWEL "i" - is formed with a smiling face also but with an inch distance between the teeth.
VOWEL "o" - is formed with the shaping "o" with your lips and the distance between the two teeth should at least be 2-3 finger distance.
VOWEL "u" - is formed by the puckering of your lips or feels like you are blowing a candle.
2. In singing the phrases you have to connect the vowels and go through the consonants as fast as you can. And the vowel when produced will normally open the pathway of sound.
3. make sure that before you sing the lyrics of a phrase or syllable, the mouth opening should be prepared first.
hope this helps to every musicians out there....!!!
Friday, May 18, 2007
No need for Greasmonkey!
"here i have found a site where you can download videos from youtube without the
need of installing greasmonkey...
here it is....
Click here!!!
http://javimoya.com/blog/youtube_en.php"
Thursday, May 17, 2007
Exercises that Create a Healthy Vocal Sound:
This is my second day for teaching an amateur choir here for our chapel...
As I search the web for vocalization and vocal work out I have found this...
Exercises that Create a Healthy Vocal Sound:
the numbers indecate the note, Example: 1,3,5,3,1 is equal to do mi sol mi do....
(1) 1, 3, 5, 3, 1.
a, o, u, o, a.
(This simple exercise will begin to allow the singer to assimilate the idea of 'narrowing' the vowels as they go up instead of spreading. This is good for volunteer choirs because it involves less range.)
(2) 1, 2, 3, 4, 5, 4, 3, 2, 1.
a....le....lu..........ia.
(Creates similar results as the number 1. Be sure the singers keep the jaw somewhat down and 'flip' the l's. The tongue should function separate from the jaw.)
(3) 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1
a.....o...........u..............o........a......
(4) 5......5, 5, 5, 5, 5, 4, 3, 2, 1
u..... i..e..a..o..u............
(This exercise shapes the pharynx in a healthy acoustical space for all vowels. Use the idea the all the vowels keep some of the 'u' feel in the throat.)
(5) 1.......(oct. up), 7, 6, 5, 4, 3, 2, 1
a.......u.............................
(Exercise is intended to help singers discover more head voice in their quality and to blend the registers more smoothly.)
(6) 1..3..1
o..u..o
(Have the singer feel as though the larynx drops slightly as they sing the 'u' vowel. This will begin to help them discover a 'lower larynx' position. Vennard calls this the laryngeal pivot or 'rocking' of the larynx. Use this exercise only in the middle range.)
(7) 1..3..5..oct..3rd above...oct..5..3..1
a..e..i..o....u...........o....a..e..i
(This exercise is designed to allow a lower larynx while going into the upper range. The 'o' and 'u' vowels are lower larynxed vowels and performing this exercise will help the singers not to create a 'spread and shrill sound in the higher register. The jaw should be somewhat stable encouraging the singer to pronounce with the tongue separate from the jaw.)
(8) 5....5..4..3..2..1
ng...a............
(Exercise allows for the 'ng' ring to thread into the form of the vowel. Use the vowel modification of 'aw' for the 'a' if it is too spread.)
Hope this can help...
Tuesday, May 15, 2007
Oh no! But Alright...
Although I've feel down for there will be no contest, i was still happy because we havent really polished the song...
Well it's a very beautifull song from Hangad... Arranged by Paolo Tirol. I've downloaded it's video on youtube...
Here it is... Check this out....http://www.youtube.com/watch?v=9WW0GiWTULU
Monday, May 14, 2007
Madz Music
Here it is.... Please Check this out:
http://www.youtube.com/watch?v=6AhwFsIDapU
Madz 06 singing La Rose Complete in Epinal, France.
Enjoy! (more)
My first blog
Well I hope I can blog many interesting things everyday.... wow.... ('_')