What is the output of the following code ? int a =3; int b =2; b=a++; cout<<++b;
1. What is the output of the following code ? int a =3; int b =2; b=a++; cout<<++b;
output dari int a =3;
int b =2;
b=a++;
cout<<++b;
adalah
"4"
2. break the code and write the message?
Jawaban:
pecahkan kode dan tulis pesan ya
Penjelasan:
maf kalo gk salah itu artinya
3. What is the output of the following code? void printsum(int a, int b = 4) { cout << a + b << endl; } int main() { printsum(13); }
What is the output of the following code?
17
4. The output of 0.35:7 is Please respond the same way.
Jawab:
Penjelasan dengan langkah-langkah:
0.35 : 7 = 0.05
Thanks
5. kinerja dengan ungkapan "The most criticalperformance criteria vary from job to job, butthe employee performance measures common tomost jobs include the following":1. Quantity of output2. Quality of output3. Timeliness of output4. Presence at work5. Ability to Teamwor
Jawaban:
kinerja dengan anggapan "Yang paling kritis
kriteria kinerja bervariasi dari satu pekerjaan ke pekerjaan, tetapi
ukuran kinerja karyawan yang umum
sebagian besar pekerjaan termasuk yang berikut ":
1. Jumlah output
2. Kualitas hasil
3. Ketepatan waktu output
4. Kehadiran di tempat kerja
5. Kemampuan untuk Teamwor
6. 2. What is the defenition of zip code?
Jawaban:
A ZIP code is a series of postal codes used by the United States Postal Service (USPS)
Jawaban:
Zip code is a short sequence of letters and numbers at the end of your address, which helps the post office to sort the mail.
7. Which three of the following are fundamental principles of the IESBA Code of Ethics for Professional Accountants? a. Independence b. Integrity c. Objectivity d. Confidentiality
Jawaban:
B. Integrity
Penjelasan:
Jangan lupa super dan bintang 5 ya✨
Jawab :
B. Integrity
Penjelasan:
MaafKalo Salah
#Semangat
#SemogaMembantu
8. Scan the following QR code and listen to the sentences. Complete the clocks by writing numbers or drawing clock hands according to the time you have heard Write the time under each picture.
Jawaban dan Penjelasan:
Number One
Father and Dahlia often arrive home at three twenty five. (3:25)Number Two
My package has been delivered at twenty past four. (4:20)Number Three
<Someone> records a video for his biology assignment at twenty fifteen. (20:15)(nama orangnya kurang jelas, mungkin Rosyid atau Rasyid)
Number Four
Erina goes to buy apple juice at ten past one. (1:10)Number Five
Mr. Hendrawan will have an online meeting at eleven o'clock. (11:00)Notes:
Silahkan gambar sendiri ya di jam-jam itu. Lalu di bawah gambar jamnya, ditulis waktunya seperti yang digarisbawahi.
Untuk menjawab ini, tadi saya download file audio dari QR code yang ada di gambar.
Semoga membantu.
9. What is the output of the following code snippet? using System; namespace Solution { class Solution { enum color { red, green, blue } static void Main(string[] args) { var c = color.green; Console.WriteLine(); } } }
Jawaban:
i dont understent sorry tolong untuk berbahasa indonesia
10. What is the output of this code? int a = 2; do { a+=3; } while(a < 4); Console.Write(a);
Jawaban & Penjelasan:
jawabannya adalah 5 tentu saja, karena ketika Anda meletakkan ++ sebelum nama var program menambahkan 1 ke var dan kemudian menyalin nilainya ke b, tetapi jika Anda meletakkannya setelah a seperti a +++ program pertama-tama menerapkan nilai ke b dan setelah itu menambahkan 1 ...
semoga bermanfaat....
11. look at the body of the latter. can you find the following itemsa. the dateb. the timec. the contact for RSVd. the dress code
Jawaban:
D.Thw dress code
Penjelasan:
Maaf kalo salah
12. Complete the following procedure of borrowing a book from school library. Then, write the complete procedure for your school library. How to use………………….. Look for the title in…………….. Write the code number……….. Get the book from the…………………. ………….. the book to the librarian. Show him/her your ……………. card.
Jawaban:
book from library
a bookshelf
of the bookshelf
bookshelf
take
reading
13. Observe the following pseudocode: a := 2; b := 5;tmp := 2*b; b := 2*a; a := tmp; writeln(b, " ", a); what is the output of the code above? 4 10 10 4 2 5 5 2 4 4
Jawaban:
Jawabannya yaitu 4 4
Penjelasan:
Perintah writeln (b, “ “, a)
Sedangkan b = 2* a
Nilai a adalah 2 sehingga totalnya 4 (2x2)
Kemudian kode “ “ menghasilkan spasi
Selanjutnya parameter a dihasilkan dari rumus a:= tmp
Tmp didapatkan dari perkalian 2*b
Nilai b = 2
Maka 2 x 2 = 4
14. 1. what happens whenThe width of the column to display the output is less.
Jawaban:
Terjemahan:1. apa yang terjadi kapan
Lebar kolom untuk menampilkan output lebih kecil.
15. tolong jwb ya.. plissss complete the following procedure of borrowing a book from school library look for thr title in .... write the code number.... get the book from the.... ..... the book to the librarian. show him/her your..... card
menyelesaikan prosedur berikut meminjam buku dari perpustakaan sekolah mencari judul di ....tulis nomor kode ....mendapatkan buku dari ......... Buku untuk perpustakaan.menunjukkan kepadanya / nya ..... kartu Anda
16. What is the benefit of output transducer in the closed-loop control structure? explain what will happen if we control the motor position without the output transducer?
Jawaban:
1.The benefits of a closed loop current transducers are similar to those of a current source, which include higher noise immunity and higher accuracy. The purpose of the current transducer is to measure current
2.gatau
17. Jika output yang diharapkan adalah bilangan ganjil mulai 19 hingga 1, apakah yang menyebabkan error pada potongan program berikut ini? the following code should output the odd integers from 19 to 1: for ( x= 19; x >= 1; x += 2 ) count << x << endl ;
Jawaban:
for(x=19;x>=1;x--){
if(x%2!=0){
Penjelasan:
dalam perulangan for setidaknya kita membutuhkan 3 kondisi yaitu kondisi awal perulangan, kondisi saat perulangan dan kondisi yang harus dipenuhi agar perulangan berhenti. format pelunisanya seperti berikut :
for (start; condition; increment)
{
statement;
}
untuk mendapatkan nilai dari 19-1 kita melakukan perulangan for dengan memakai decrement (x--)
setelah mendapatkan nilai dari 19 - 1 kita menyeleksi bilanganya dengan menginisiasi bilangan menggunakan if(x%2 != 0) agar mendapatkan bilangan ganjil.
beriku keseluruhan kode :
#include <iostream>
using namespace std;
int main(){
int x;
for(x=19;x>=1;x--){
if(x%2!=0){
cout<<x<<"\n";
}
}
}
semoga membantu.
18. what happen to the width of the output if the timing resistor is decreased
It is also decreased.
done
19. The output power of an engine is 600 kW. if the efficiency of the engine is 75%. Determine the power input .... kW
efisiensi = (keluaran÷masukan) x 100%
75 % = (600 ÷ masukan) x 100%
0,75 = 600 ÷ masukan
masukan = 600 ÷ 0,75 = 800 kW
20. Observe the following pseudocode:a := 2; b := 5;tmp := 2*b;b := 2*a;a := tmp;writeln(b, " ", a); what is the output of the code above?4 1010 42 55 24 4
a <-- 2
b <-- 5
tmp <-- 2 x b
tmp <-- 2 x 5
tmp <-- 10
b <-- 2 x a
a <-- tmp
output : nilai dari variabel b 'terbaru' <spasi> nilai dari variabel 'a' terbaru
Penjelasan :
Tinggal masukan aja untuk variabel 'b' dua kali variabel angka 'a' yaitu berapa hasilnya, dan untuk variabel 'a' dengan nilai dari tmp yaitu berapa.
Penjelasan Lanjutan :
b <-- 2 x a
a <-- tmp
Pada baris program ini variabel 'b' terupdate yang semulai bernilai 5 sekarang menjadi 2 x a, begitu pula dengan variabel 'a' yang semula ialah 2 menjadi sama dengan nilai dari variabel tmp yaitu 'berapa'.
Output Program :
Setelah tahu nilai a dan b (atau b dan a). Maka yang akan tertulis di layar atau yang dinamakan 'output' ialah harga atau nilai dari variabel b <spasi> nilai dari variabel a.
0 Komentar